summaryrefslogtreecommitdiff
path: root/ext/fg/js/float.js
diff options
context:
space:
mode:
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 01055ca6..8c00d0a5 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -18,7 +18,7 @@
/* global
* Display
- * apiForward
+ * apiBroadcast
* apiGetMessageToken
* popupNestedInitialize
*/
@@ -80,7 +80,7 @@ class DisplayFloat extends Display {
this.setContentScale(scale);
- apiForward('popupPrepareCompleted', {targetPopupId: this._popupId});
+ apiBroadcast('popupPrepareCompleted', {targetPopupId: this._popupId});
}
onError(error) {
@@ -181,7 +181,7 @@ class DisplayFloat extends Display {
},
2000
);
- apiForward('requestDocumentInformationBroadcast', {uniqueId});
+ apiBroadcast('requestDocumentInformationBroadcast', {uniqueId});
const {title} = await promise;
return title;