From b885352724fe590669b46d514276cd01901d37d5 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 9 Oct 2015 10:24:48 -0400 Subject: [PATCH] this fixes bad code review --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 5f3fce4d5..7038afb8f 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; }; }