aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frame-offset-forwarder.js2
-rw-r--r--ext/fg/js/frontend.js2
-rw-r--r--ext/fg/js/popup-factory.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/frame-offset-forwarder.js b/ext/fg/js/frame-offset-forwarder.js
index 94775105..e2c34736 100644
--- a/ext/fg/js/frame-offset-forwarder.js
+++ b/ext/fg/js/frame-offset-forwarder.js
@@ -42,7 +42,7 @@ class FrameOffsetForwarder {
return [0, 0];
}
- const uniqueId = yomichan.generateId(16);
+ const uniqueId = generateId(16);
const frameOffsetPromise = yomichan.getTemporaryListenerResult(
chrome.runtime.onMessage,
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 981852db..caa2bd3e 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -33,7 +33,7 @@ class Frontend {
isSearchPage,
allowRootFramePopupProxy
}) {
- this._id = yomichan.generateId(16);
+ this._id = generateId(16);
this._popup = null;
this._disabledOverride = false;
this._options = null;
diff --git a/ext/fg/js/popup-factory.js b/ext/fg/js/popup-factory.js
index ab450b26..03ac603b 100644
--- a/ext/fg/js/popup-factory.js
+++ b/ext/fg/js/popup-factory.js
@@ -86,7 +86,7 @@ class PopupFactory {
if (frameId === this._frameId) {
// New unique id
if (id === null) {
- id = yomichan.generateId(16);
+ id = generateId(16);
}
const popup = new Popup(id, depth, frameId, ownerFrameId);
if (parent !== null) {