Diff + Preview - Hide date selector widget when viewing screenshots as its not yet possible to compare screenshots (but will be soon!)

pull/672/head
dgtlmoon 3 years ago
parent 8227c012a7
commit 1ab70f8e86

@ -9,6 +9,9 @@ $(document).ready(function () {
function toggle(hash_name) { function toggle(hash_name) {
if (hash_name === '#screenshot') { if (hash_name === '#screenshot') {
$("img#screenshot-img").attr('src', screenshot_url); $("img#screenshot-img").attr('src', screenshot_url);
$("#settings").hide();
} else {
$("#settings").show();
} }
} }
}); });

Loading…
Cancel
Save