aboutsummaryrefslogtreecommitdiff
path: root/js/popup.js
diff options
context:
space:
mode:
authorEinar Egilsson <einar@einaregilsson.com>2015-09-21 15:08:59 +0000
committerEinar Egilsson <einar@einaregilsson.com>2015-09-21 15:08:59 +0000
commita41cc90f3c401d08cf75a693a0698320b61b8d99 (patch)
treec41cf00a83dac214ad2725663abaeee826dbe778 /js/popup.js
parent720c2643cd4bcfbc63b67d7d74c476496c805b8b (diff)
Almost fully working Firefox
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 1e9d353..5305f13 100644
--- a/js/popup.js
+++ b/js/popup.js
@@ -27,7 +27,7 @@ angular.module('popupApp', []).controller('PopupCtrl', ['$scope', function($s) {
close();
});
} else {
- open(url);
+ chrome.tabs.create({url:url, active:true});
}
});
};