From b2ba3216ea5dbe6a74fdfa75611fce95c1481316 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Fri, 18 Sep 2015 15:42:21 +0000 Subject: Halfway to making Firefox compatible --- js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/popup.js') diff --git a/js/popup.js b/js/popup.js index 9aa13cf..1e9d353 100644 --- a/js/popup.js +++ b/js/popup.js @@ -20,7 +20,7 @@ angular.module('popupApp', []).controller('PopupCtrl', ['$scope', function($s) { //switch to open one if we have it to minimize conflicts var url = chrome.extension.getURL('redirector.html'); - + chrome.tabs.query({currentWindow:true, url:url}, function(tabs) { if (tabs.length > 0) { chrome.tabs.update(tabs[0].id, {active:true}, function(tab) { -- cgit v1.2.3