Update listener.js

This commit is contained in:
Andyyy7666
2021-12-26 19:25:38 +01:00
committed by GitHub
parent ada5cb1827
commit f9943b24ab

View File

@@ -2,9 +2,11 @@ $(function() {
// Hide/show ui function
function display(bool) {
if (bool) {
displayOn = true
$("body").show();
Money(false)
} else {
displayOn = false
$("body").hide();
}
}
@@ -68,7 +70,9 @@ $(function() {
$("#money").show();
$("body").css("background-image", "none");
$("body").show();
$("#overlay").hide();
if (displayOn === false) {
$("#overlay").hide();
}
} else {
$("#money").hide();
$("#overlay").show();