1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fix a little

This commit is contained in:
Rokt33r
2016-01-15 23:35:41 +09:00
parent b6b526dd57
commit c42e1892d0
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ const electron = require('electron')
const { clipboard, ipcRenderer, remote } = electron
const path = require('path')
if (process.env.NODE_ENV === 'development') {
if (process.env.NODE_ENV !== 'production') {
window.addEventListener('keydown', function (e) {
if (e.keyCode === 73 && e.metaKey && e.altKey) {
remote.getCurrentWindow().toggleDevTools()