aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-25 14:22:43 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:06:27 -0500
commit1daed122909532f5ec5c4b470ddf7f791944cf73 (patch)
tree3a42e6e77c0470a08855604fcc47654bdc9ec223 /ext/bg/js/api.js
parent943350a1f66b3576e98c58539cbff277b0069977 (diff)
Comment empty blocks
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';