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:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user