diff options
Diffstat (limited to 'src/content/index.js')
-rw-r--r-- | src/content/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/index.js b/src/content/index.js index 5d3735c..91f5420 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -4,11 +4,11 @@ import * as scrolls from '../content/scrolls'; import * as histories from '../content/histories'; import Follow from '../content/follow'; import operations from '../operations'; -import messages from '../messages'; +import messages from '../messages'; consoleFrames.initialize(window.document); -window.addEventListener("keypress", (e) => { +window.addEventListener('keypress', (e) => { if (e.target instanceof HTMLInputElement) { return; } @@ -40,14 +40,14 @@ const execOperation = (operation) => { case operations.HISTORY_NEXT: return histories.next(window); } -} +}; const update = (state) => { if (!state.console.commandShown) { window.focus(); consoleFrames.blur(window.document); } -} +}; browser.runtime.onMessage.addListener((action) => { switch (action.type) { |