summaryrefslogtreecommitdiff
path: root/ext/fg/js/float.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-10 20:00:18 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-10 20:00:18 -0400
commita296c758b95b428777548f5aada1be13429faf03 (patch)
tree7b6e63283f6de1eb3e55947a059136916130a834 /ext/fg/js/float.js
parentc88ec43ad1523fefaa47b6e46dd0fa95f342559c (diff)
apiBroadcast => apiBroadcastTab
Diffstat (limited to 'ext/fg/js/float.js')
-rw-r--r--ext/fg/js/float.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/float.js b/ext/fg/js/float.js
index 8c00d0a5..d0c0f419 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -18,7 +18,7 @@
/* global
* Display
- * apiBroadcast
+ * apiBroadcastTab
* apiGetMessageToken
* popupNestedInitialize
*/
@@ -80,7 +80,7 @@ class DisplayFloat extends Display {
this.setContentScale(scale);
- apiBroadcast('popupPrepareCompleted', {targetPopupId: this._popupId});
+ apiBroadcastTab('popupPrepareCompleted', {targetPopupId: this._popupId});
}
onError(error) {
@@ -181,7 +181,7 @@ class DisplayFloat extends Display {
},
2000
);
- apiBroadcast('requestDocumentInformationBroadcast', {uniqueId});
+ apiBroadcastTab('requestDocumentInformationBroadcast', {uniqueId});
const {title} = await promise;
return title;