Skip to content

Commit

Permalink
❌ Remove unnecessary notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
tterb committed Nov 2, 2017
1 parent c85ed78 commit 6d78c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/ipc_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,16 @@ ipc.on('win-close', () => { closeWindow(remote.BrowserWindow.getFocusedWindow())
ipc.on('win-reload', () => { reloadWin(); });
ipc.on('insert-code', () => { toggleFormat('code'); });
ipc.on('insert-quote', () => { toggleBlockquote(); });
ipc.on('toggle-toolbar', () => { toggleToolbar(); notify('Toggle toolbar', 'warning'); });
ipc.on('toggle-settings', () => { toggleSettingsMenu(); notify('Toggle settings menu', 'info'); });
ipc.on('toggle-toolbar', () => { toggleToolbar(); });
ipc.on('toggle-settings', () => { toggleSettingsMenu(); });
ipc.on('insert-strikethrough', () => { toggleFormat('strikethrough'); });
ipc.on('insert-hr', () => { insert('hr'); });
ipc.on('insert-comment', () => { toggleComment(); });
ipc.on('page-up', () => { cm.execCommand('goDocStart'); });
ipc.on('page-down', () => { cm.execCommand('goDocEnd'); });
ipc.on('indent-less', () => { cm.execCommand('indentLess'); });
ipc.on('indent-more', () => { cm.execCommand('indentMore'); });
ipc.on('toggle-palette', () => { commandPalette().show(); notify('Toggle command-palette If string, assumed to be CSS class name. If null, no animation at all. If function, runs the function. (v3.0.1+) You can use animate.css class names or your custom css animations as well.', 'success'); });
ipc.on('toggle-palette', () => { commandPalette().show(); });
ipc.on('maximize', () => { toggleMaximize(); });
// Save as PDF file
ipc.on('file-pdf', () => {
Expand Down

0 comments on commit 6d78c62

Please sign in to comment.