Add Crop shortcut button

This commit is contained in:
df 2020-11-10 20:07:24 +00:00
parent 0b6f6fccb1
commit c9d7299092

View File

@ -135,6 +135,12 @@ $('#back').button({icons: {primary: "ui-icon-arrowreturnthick-1-w"}})
window.location = '/go/browse?dir=' + encodeURIComponent(dir); 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() $('#update').button()
.on('click', function() { .on('click', function() {
draw_slider(); draw_slider();