From a2e45a024f4fdc09271924a1dbcb8f049a5b9bfc Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 16 Nov 2014 17:22:27 -0200 Subject: [PATCH] now it's fixed... --- meta/crx/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } });