From e23feddae3702a400630fb0c4c9d25c8d2e2e904 Mon Sep 17 00:00:00 2001 From: Jordan Bates Date: Fri, 10 May 2013 03:52:00 -0700 Subject: [PATCH] Dont add the target, in case of external catalog link --- builds/4chan-X.js | 3 +-- builds/4chan-X.user.js | 3 +-- builds/crx/script.js | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 7b5e7c4f6..1d789b554 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -1611,8 +1611,7 @@ a = $.el('a', { href: (t.match(/\,"(.+)"/) || [null, '+'])[1], textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1], - className: 'external', - target: '_blank' + className: 'external' }); return a; } diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 610da1ed4..fecebd5b0 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1607,8 +1607,7 @@ a = $.el('a', { href: (t.match(/\,"(.+)"/) || [null, '+'])[1], textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1], - className: 'external', - target: '_blank' + className: 'external' }); return a; } diff --git a/builds/crx/script.js b/builds/crx/script.js index 9c6910f6f..84eeb9aba 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1609,8 +1609,7 @@ a = $.el('a', { href: (t.match(/\,"(.+)"/) || [null, '+'])[1], textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1], - className: 'external', - target: '_blank' + className: 'external' }); return a; }