Dont add the target, in case of external catalog link
This commit is contained in:
parent
4bc35152e3
commit
e23feddae3
@ -1611,8 +1611,7 @@
|
|||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: (t.match(/\,"(.+)"/) || [null, '+'])[1],
|
href: (t.match(/\,"(.+)"/) || [null, '+'])[1],
|
||||||
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1],
|
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1],
|
||||||
className: 'external',
|
className: 'external'
|
||||||
target: '_blank'
|
|
||||||
});
|
});
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1607,8 +1607,7 @@
|
|||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: (t.match(/\,"(.+)"/) || [null, '+'])[1],
|
href: (t.match(/\,"(.+)"/) || [null, '+'])[1],
|
||||||
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1],
|
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1],
|
||||||
className: 'external',
|
className: 'external'
|
||||||
target: '_blank'
|
|
||||||
});
|
});
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1609,8 +1609,7 @@
|
|||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: (t.match(/\,"(.+)"/) || [null, '+'])[1],
|
href: (t.match(/\,"(.+)"/) || [null, '+'])[1],
|
||||||
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1],
|
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1],
|
||||||
className: 'external',
|
className: 'external'
|
||||||
target: '_blank'
|
|
||||||
});
|
});
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user