aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/context.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-14 21:43:09 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-14 21:43:09 -0700
commitbdf231082f4b4ca7c4c90d8b0cd40b6c4201723d (patch)
treeb378fa497e850c85145b241541edcace45324ca1 /ext/bg/js/context.js
parent82863cd86156d48b9f18dc10a560bedb82641862 (diff)
lots of fixes to backend
Diffstat (limited to 'ext/bg/js/context.js')
-rw-r--r--ext/bg/js/context.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/context.js b/ext/bg/js/context.js
index 77cb5166..689d6863 100644
--- a/ext/bg/js/context.js
+++ b/ext/bg/js/context.js
@@ -17,7 +17,7 @@
*/
-$(document).ready(() => {
+$(document).ready(utilAsync(() => {
$('#open-search').click(() => apiCommandExec('search'));
$('#open-options').click(() => apiCommandExec('options'));
$('#open-help').click(() => apiCommandExec('help'));
@@ -28,4 +28,4 @@ $(document).ready(() => {
toggle.bootstrapToggle();
toggle.change(() => apiCommandExec('toggle'));
});
-});
+}));