kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Diff + Preview - Hide date selector widget when viewing screenshots as its not yet possible to compare screenshots (but will be soon!)
rodzic
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue