aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-07-01 12:18:03 -0400
committergorhill <rhill@raymondhill.net>2015-07-01 12:18:03 -0400
commitad827576ce5ae2c1b4faadeff7bde62da1a1e467 (patch)
tree96183c98ba028f7bfb1650c8b8f1ba4957a50d21 /src/js
parenta0607702b1f3b905323c961d77002afee779cb86 (diff)
downloaduBlock-ad827576ce5ae2c1b4faadeff7bde62da1a1e467.zip
uBlock-ad827576ce5ae2c1b4faadeff7bde62da1a1e467.tar.gz
uBlock-ad827576ce5ae2c1b4faadeff7bde62da1a1e467.tar.bz2
have the logger open in a separate window
Diffstat (limited to 'src/js')
-rw-r--r--src/js/popup.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js/popup.js b/src/js/popup.js
index 3097536..d4dadba 100644
--- a/src/js/popup.js
+++ b/src/js/popup.js
@@ -526,12 +526,15 @@ var gotoURL = function(ev) {
ev.preventDefault();
+ var rel = this.getAttribute('rel') || '';
+
messager.send({
what: 'gotoURL',
details: {
url: this.getAttribute('href'),
select: true,
- index: -1
+ index: -1,
+ popup: rel === 'popup'
}
});