aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-07-18 18:26:34 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-07-18 18:28:00 +0200
commit9872689abeae2a684283e1a8271da1422ed275ac (patch)
treec2636d20f812816fd4f98395fcbce90d4c0f9376 /js
parent6be5e5731e3b1c59c518cb8dcf81dc7d3540321a (diff)
downloadmonzero-gui-9872689abeae2a684283e1a8271da1422ed275ac.tar.gz
monzero-gui-9872689abeae2a684283e1a8271da1422ed275ac.tar.xz
monzero-gui-9872689abeae2a684283e1a8271da1422ed275ac.zip
Fixes some javascript errors
Diffstat (limited to 'js')
-rw-r--r--js/Windows.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/Windows.js b/js/Windows.js
index be2f503e..435a91de 100644
--- a/js/Windows.js
+++ b/js/Windows.js
@@ -11,12 +11,11 @@ function setCustomWindowDecorations(custom) {
var y = appWindow.y
if (x < 0) x = 0
if (y < 0) y = 0
-
+
// Update persistentSettings
persistentSettings.customDecorations = custom;
titleBar.visible = custom;
- daemonConsolePopup.titleBar.visible = custom;
if (custom) {
appWindow.flags = flagsCustomDecorations;
@@ -25,7 +24,7 @@ function setCustomWindowDecorations(custom) {
appWindow.flags = flags;
daemonConsolePopup.flags = flags;
}
-
+
// Reset window
appWindow.hide()
appWindow.x = x