summaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 12257e92..d5256acb 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -404,7 +404,9 @@ async function apiGetBrowser() {
if (info.name === 'Fennec') {
return 'firefox-mobile';
}
- } catch (e) { }
+ } catch (e) {
+ // NOP
+ }
return 'firefox';
} else {
return 'chrome';