aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/main.js
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2018-10-18 17:40:39 +1200
committerDevine Lu Linvega <[email protected]>2018-10-18 17:40:39 +1200
commite612be470cc41bf2687b08b2c5a6ea4930b3899d (patch)
tree3856cc9e298b9e42b1484a4017a0c7357cef9835 /desktop/main.js
parent61ae575172077d36e2400a538e679f427b8e195e (diff)
downloadOrca-e612be470cc41bf2687b08b2c5a6ea4930b3899d.tar.gz
Orca-e612be470cc41bf2687b08b2c5a6ea4930b3899d.zip
Improved docs
Diffstat (limited to 'desktop/main.js')
-rw-r--r--desktop/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/main.js b/desktop/main.js
index 438785b..10f2b60 100644
--- a/desktop/main.js
+++ b/desktop/main.js
@@ -57,7 +57,7 @@ app.toggle_fullscreen = function () {
}
app.toggle_visible = function () {
- if (process.platform == 'win32') {
+ if (process.platform === 'win32') {
if (!app.win.isMinimized()) { app.win.minimize() } else { app.win.restore() }
} else {
if (is_shown && !app.win.isFullScreen()) { app.win.hide() } else { app.win.show() }