summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-07 19:51:39 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-07 19:51:39 -0400
commita2b66dc6cc3bd0d037c050eb49e270189a6617fb (patch)
tree201f8ff119c72863c4d273b0b16b7317982d05d9 /ext/fg/js/frontend.js
parent96566b8581549adba7cd24f37537fd7910eb8d37 (diff)
Rename apiForward to apiBroadcast
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r--ext/fg/js/frontend.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 31843212..bcb0b84a 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -18,7 +18,7 @@
/* global
* TextScanner
- * apiForward
+ * apiBroadcast
* apiGetZoom
* apiKanjiFind
* apiOptionsGet
@@ -261,12 +261,12 @@ class Frontend extends TextScanner {
_broadcastRootPopupInformation() {
if (!this.popup.isProxy() && this.popup.depth === 0) {
- apiForward('rootPopupInformation', {popupId: this.popup.id, frameId: this.popup.frameId});
+ apiBroadcast('rootPopupInformation', {popupId: this.popup.id, frameId: this.popup.frameId});
}
}
_broadcastDocumentInformation(uniqueId) {
- apiForward('documentInformationBroadcast', {
+ apiBroadcast('documentInformationBroadcast', {
uniqueId,
frameId: this.popup.frameId,
title: document.title