summaryrefslogtreecommitdiff
path: root/ext/js/settings/keyboard-shortcuts-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/settings/keyboard-shortcuts-controller.js')
-rw-r--r--ext/js/settings/keyboard-shortcuts-controller.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/js/settings/keyboard-shortcuts-controller.js b/ext/js/settings/keyboard-shortcuts-controller.js
index 0dcfa2ee..99b16f06 100644
--- a/ext/js/settings/keyboard-shortcuts-controller.js
+++ b/ext/js/settings/keyboard-shortcuts-controller.js
@@ -17,7 +17,6 @@
/* global
* KeyboardMouseInputField
- * api
*/
class KeyboardShortcutController {
@@ -38,7 +37,7 @@ class KeyboardShortcutController {
}
async prepare() {
- const {platform: {os}} = await api.getEnvironmentInfo();
+ const {platform: {os}} = await yomichan.api.getEnvironmentInfo();
this._os = os;
this._addButton = document.querySelector('#hotkey-list-add');