aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/popup.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'
}
});