From efc7769cdeeb16e65e7908bf6b2d5c911a356e30 Mon Sep 17 00:00:00 2001 From: jaruba Date: Mon, 18 Jul 2016 11:50:03 +0300 Subject: [PATCH] [OSX/Linux] Fix Maximize Window In Main Menu #111 --- src/components/Header/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Header/actions.js b/src/components/Header/actions.js index 90ea756c..e9de5458 100644 --- a/src/components/Header/actions.js +++ b/src/components/Header/actions.js @@ -21,7 +21,7 @@ class HeaderActions { let state = !ipcRenderer.sendSync('app:get:maximized'); ipcRenderer.send('app:maximize', state); this.actions.maximize(state); - document.querySelector('header .controls.win32 div.toggle i:nth-of-type(2)').style.display = state ? 'block' : 'none'; + document.querySelector('header .controls div.toggle i:nth-of-type(2)').style.display = state ? 'block' : 'none'; } toggleMinimize() {