aboutsummaryrefslogtreecommitdiff
path: root/js/popup.js
diff options
context:
space:
mode:
authorEinar Egilsson <einar@einaregilsson.com>2015-09-18 15:42:21 +0000
committerEinar Egilsson <einar@einaregilsson.com>2015-09-18 15:42:21 +0000
commitb2ba3216ea5dbe6a74fdfa75611fce95c1481316 (patch)
tree0ed80d05edc5497d64455197a04fabec7aa8d69d /js/popup.js
parent862d738c79dc6f8188d3f9fefd46c01179041710 (diff)
Halfway to making Firefox compatible
Diffstat (limited to 'js/popup.js')
-rw-r--r--js/popup.js2
1 files changed, 1 insertions, 1 deletions
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) {