aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/frame-client.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-08-22 15:49:24 -0400
committerGitHub <noreply@github.com>2020-08-22 15:49:24 -0400
commitf0c974d319d9fb4c50c9a4a8f665a642edb77d58 (patch)
tree71855fd155b8072e9ce627a6643938065ef44b5d /ext/mixed/js/frame-client.js
parent9fa0f2a56a79159227f1f42455157fe9c84132d3 (diff)
Move generateId to core.js (#748)
Diffstat (limited to 'ext/mixed/js/frame-client.js')
-rw-r--r--ext/mixed/js/frame-client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/frame-client.js b/ext/mixed/js/frame-client.js
index 6ea344e2..632c50d4 100644
--- a/ext/mixed/js/frame-client.js
+++ b/ext/mixed/js/frame-client.js
@@ -90,7 +90,7 @@ class FrameClient {
case 'frameEndpointReady':
{
const {secret} = params;
- const token = yomichan.generateId(16);
+ const token = generateId(16);
tokenMap.set(secret, token);
postMessage('frameEndpointConnect', {secret, token, hostFrameId});
}