aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/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/mixed/js
parent96566b8581549adba7cd24f37537fd7910eb8d37 (diff)
Rename apiForward to apiBroadcast
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/api.js4
-rw-r--r--ext/mixed/js/display.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js
index feec94df..d28e3ab6 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -81,8 +81,8 @@ function apiScreenshotGet(options) {
return _apiInvoke('screenshotGet', {options});
}
-function apiForward(action, params) {
- return _apiInvoke('forward', {action, params});
+function apiBroadcast(action, params) {
+ return _apiInvoke('broadcast', {action, params});
}
function apiFrameInformationGet() {
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 2f456c3e..710674b2 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -23,9 +23,9 @@
* DisplayGenerator
* WindowScroll
* apiAudioGetUri
+ * apiBroadcast
* apiDefinitionAdd
* apiDefinitionsAddable
- * apiForward
* apiKanjiFind
* apiNoteView
* apiOptionsGet
@@ -855,7 +855,7 @@ class Display {
}
setPopupVisibleOverride(visible) {
- return apiForward('popupSetVisibleOverride', {visible});
+ return apiBroadcast('popupSetVisibleOverride', {visible});
}
setSpinnerVisible(visible) {