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

This commit is contained in:
dgtlmoon
2022-06-07 19:53:13 +02:00
parent 8227c012a7
commit 1ab70f8e86

View File

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