aboutsummaryrefslogtreecommitdiffstats
path: root/platform/firefox
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-10-09 10:24:48 -0400
committergorhill <rhill@raymondhill.net>2015-10-09 10:24:48 -0400
commitb885352724fe590669b46d514276cd01901d37d5 (patch)
treed2b10a551832b30a5fb6266f950e63468bae9d03 /platform/firefox
parent2d0ed21544230e665a4f99b8827737fbc5656b09 (diff)
downloaduBlock-b885352724fe590669b46d514276cd01901d37d5.zip
uBlock-b885352724fe590669b46d514276cd01901d37d5.tar.gz
uBlock-b885352724fe590669b46d514276cd01901d37d5.tar.bz2
this fixes bad code review
Diffstat (limited to 'platform/firefox')
-rw-r--r--platform/firefox/vapi-background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js
index 5f3fce4..7038afb 100644
--- a/platform/firefox/vapi-background.js
+++ b/platform/firefox/vapi-background.js
@@ -533,7 +533,7 @@ var getTabBrowser = (function() {
if ( vAPI.thunderbird ) {
return function(win) {
- win.document.getElementById('tabmail');
+ return win.document.getElementById('tabmail') || null;
};
}