diff --git a/webif/html/browse/bookmarks/script.js b/webif/html/browse/bookmarks/script.js index 469b7eb..b90eec7 100644 --- a/webif/html/browse/bookmarks/script.js +++ b/webif/html/browse/bookmarks/script.js @@ -135,6 +135,12 @@ $('#back').button({icons: {primary: "ui-icon-arrowreturnthick-1-w"}}) window.location = '/go/browse?dir=' + encodeURIComponent(dir); }); +$('#crop').button({icons: {primary: "ui-icon-arrowreturnthick-1-e"}}) + .on('click', function() { + window.location = + window.location.href.replace('/bookmarks/?','/crop/crop.jim?'); +}); + $('#update').button() .on('click', function() { draw_slider();