diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 5b9f09d..d005947 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -319,9 +319,6 @@ vAPI.tabs.open = function(details) { vAPI.tabs.replace = function(tabId, url) { var targetURL = url; - if ( typeof targetURL !== 'string' || targetURL === '' ) { - return; - } // extension pages if ( /^[\w-]{2,}:/.test(targetURL) !== true ) { @@ -340,7 +337,6 @@ vAPI.tabs.replace = function(tabId, url) { if ( chrome.runtime.lastError ) { return; } - }); };