aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/twlist-tab.tw
diff options
context:
space:
mode:
Diffstat (limited to 'twittperator/twlist-tab.tw')
-rw-r--r--twittperator/twlist-tab.tw2
1 files changed, 2 insertions, 0 deletions
diff --git a/twittperator/twlist-tab.tw b/twittperator/twlist-tab.tw
index 0596aa3..3331f29 100644
--- a/twittperator/twlist-tab.tw
+++ b/twittperator/twlist-tab.tw
@@ -215,6 +215,8 @@ function formatText (str) {
return x;
}
function onClick (evt) {
+ evt.preventDefault();
+ evt.stopPropagation();
let where = (evt.ctrlKey || evt.button == 1) ? liberator.NEW_TAB : liberator.CURRENT_TAB;
let url = evt.target.getAttribute("href");
liberator.open(url, {where: where});