diff --git a/package.json b/package.json index 1094238..893d4a7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "bower": "^1.5.2", "cross-env": "^1.0.7", "decafjs": "^0.3.1", - "electron": "1.4.3", + "electron": "1.3.6", "electron-packager": "^7.0.1", "glob": "^7.0.0", "gulp": "^3.9.0", diff --git a/src/containers/icon-container.js b/src/containers/icon-container.js index d088196..127fae7 100644 --- a/src/containers/icon-container.js +++ b/src/containers/icon-container.js @@ -15,6 +15,7 @@ const mapDispatchToProps = (dispatch) => { let document = event.target.ownerDocument; // Dirty hack to toggle select element + // FIXME: This doesn't work on Electron >= 1.4.0 let dropdown = document.getElementById('account_selector'); let mouseEvent = document.createEvent('MouseEvents'); mouseEvent.initMouseEvent('mousedown', true, true, window);