TagSpaces is an offline, open source, document manager with tagging support
clean code
kristiyandd043a876fb476
diff --git a/data/electron/main.js b/data/electron/main.jsindex cb4888fe6..d03141a00 100644--- a/data/electron/main.js+++ b/data/electron/main.js@@ -165,29 +165,17 @@ app.on('ready', function(event) {trayIcon.setTitle(title);trayIcon.setContextMenu(trayMenu);- globalShortcut.register('CommandOrControl+Alt+space', function() {- stopPlayback();- });+ globalShortcut.register('CommandOrControl+Alt+space',stopPlayback);- globalShortcut.register('CommandOrControl+Alt+P', function() {- resumePlayback();- });+ globalShortcut.register('CommandOrControl+Alt+P', resumePlayback);- globalShortcut.register('CommandOrControl+Alt+N', function() {- newFile();- });+ globalShortcut.register('CommandOrControl+Alt+N', newFile);- globalShortcut.register('CommandOrControl+Alt+I', function() {- getNextFile();- });+ globalShortcut.register('CommandOrControl+Alt+I',getNextFile);- globalShortcut.register('CommandOrControl+Alt+O', function() {- getPreviousFile();- });+ globalShortcut.register('CommandOrControl+Alt+O', getPreviousFile);- globalShortcut.register('CommandOrControl+Alt+L', function() {- showTagSpaces();- });+ globalShortcut.register('CommandOrControl+Alt+T', showTagSpaces);function showTagSpaces() {mainWindow.show();