aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
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/bg
parentc88ec43ad1523fefaa47b6e46dd0fa95f342559c (diff)
apiBroadcast => apiBroadcastTab
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 35e75bbe..20e17836 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -94,7 +94,7 @@ class Backend {
['commandExec', {handler: this._onApiCommandExec.bind(this), async: false}],
['audioGetUri', {handler: this._onApiAudioGetUri.bind(this), async: true}],
['screenshotGet', {handler: this._onApiScreenshotGet.bind(this), async: true}],
- ['broadcast', {handler: this._onApiBroadcast.bind(this), async: false}],
+ ['broadcastTab', {handler: this._onApiBroadcastTab.bind(this), async: false}],
['frameInformationGet', {handler: this._onApiFrameInformationGet.bind(this), async: true}],
['injectStylesheet', {handler: this._onApiInjectStylesheet.bind(this), async: true}],
['getEnvironmentInfo', {handler: this._onApiGetEnvironmentInfo.bind(this), async: true}],
@@ -566,7 +566,7 @@ class Backend {
});
}
- _onApiBroadcast({action, params}, sender) {
+ _onApiBroadcastTab({action, params}, sender) {
if (!(sender && sender.tab)) {
return false;
}