aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/backend.js2
-rw-r--r--ext/bg/js/settings/settings-controller.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 65f4d6b3..810370c4 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -739,7 +739,7 @@ class Backend {
if (typeof tabId !== 'number') { throw new Error('Sender has invalid tab ID'); }
const frameId = sender.frameId;
- const id = yomichan.generateId(16);
+ const id = generateId(16);
const details = {
name: 'action-port',
id
diff --git a/ext/bg/js/settings/settings-controller.js b/ext/bg/js/settings/settings-controller.js
index 6479714d..4825d348 100644
--- a/ext/bg/js/settings/settings-controller.js
+++ b/ext/bg/js/settings/settings-controller.js
@@ -25,7 +25,7 @@ class SettingsController extends EventDispatcher {
constructor(profileIndex=0) {
super();
this._profileIndex = profileIndex;
- this._source = yomichan.generateId(16);
+ this._source = generateId(16);
this._pageExitPreventions = new Set();
this._pageExitPreventionEventListeners = new EventListenerCollection();
}