diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-11 11:32:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 11:32:52 -0400 |
commit | a864cf094fd17246d47604608830ed07a4706716 (patch) | |
tree | 671b1f5e1f79e244a344b0f4b659f3e0b084dcec /ext/fg/js/frontend.js | |
parent | 82dd41f58010c60a856c8c364f32a7078c112f29 (diff) | |
parent | a296c758b95b428777548f5aada1be13429faf03 (diff) |
Merge pull request #437 from toasted-nutbread/backend-api-handler-changes
Backend api handler changes
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 6fbbd0fb..55d699e5 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -17,7 +17,7 @@ /* global * TextScanner - * apiForward + * apiBroadcastTab * apiGetZoom * apiKanjiFind * apiOptionsGet @@ -260,12 +260,12 @@ class Frontend extends TextScanner { _broadcastRootPopupInformation() { if (!this.popup.isProxy() && this.popup.depth === 0) { - apiForward('rootPopupInformation', {popupId: this.popup.id, frameId: this.popup.frameId}); + apiBroadcastTab('rootPopupInformation', {popupId: this.popup.id, frameId: this.popup.frameId}); } } _broadcastDocumentInformation(uniqueId) { - apiForward('documentInformationBroadcast', { + apiBroadcastTab('documentInformationBroadcast', { uniqueId, frameId: this.popup.frameId, title: document.title |