diff --git a/meta/crx/vapi-background.js b/meta/crx/vapi-background.js index 1603382..a173a40 100644 --- a/meta/crx/vapi-background.js +++ b/meta/crx/vapi-background.js @@ -157,7 +157,7 @@ vAPI.tabs.open = function(details) { } }); - if ( selected.length === 0 ) { + if ( !selected ) { wrapper(); } });