aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-04 17:57:51 -0400
committerGitHub <noreply@github.com>2020-09-04 17:57:51 -0400
commit8d534749456c9275686f260db82e9414481dcb2b (patch)
treea0fa4981113a78973bef8131cb2521db800f2d40 /ext/mixed/js/api.js
parent21fc0a80f2382f383ae5df221b17313e72b809db (diff)
Add api.isTabSearchPopup (#763)
* Add api.isTabSearchPopup * Fix missing asyncs
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r--ext/mixed/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js
index e58000e8..a6ac227e 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -201,6 +201,10 @@ const api = (() => {
return this._invoke('getOrCreateSearchPopup', isObject(details) ? details : {});
}
+ isTabSearchPopup(tabId) {
+ return this._invoke('isTabSearchPopup', {tabId});
+ }
+
// Invoke functions with progress
deleteDictionary(dictionaryName, onProgress) {