diff options
author | gorhill <rhill@raymondhill.net> | 2015-10-09 10:24:48 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-10-09 10:24:48 -0400 |
commit | b885352724fe590669b46d514276cd01901d37d5 (patch) | |
tree | d2b10a551832b30a5fb6266f950e63468bae9d03 | |
parent | 2d0ed21544230e665a4f99b8827737fbc5656b09 (diff) | |
download | uBlock-b885352724fe590669b46d514276cd01901d37d5.zip uBlock-b885352724fe590669b46d514276cd01901d37d5.tar.gz uBlock-b885352724fe590669b46d514276cd01901d37d5.tar.bz2 |
this fixes bad code review
-rw-r--r-- | platform/firefox/vapi-background.js | 2 |
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; }; } |