Skip to content

Commit 9d47525

Browse files
committed
readme
1 parent 3b7e144 commit 9d47525

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,7 @@ const all = weld.dom.find('div.classfind', container)
240240
weld.bind('externalLink', function (el) {
241241
for (const anchor of weld.dom.find('a', el)) {
242242
if (anchor.href
243-
&& anchor.href.startsWith('http')
244-
&& !anchor.target === '_blank') {
243+
&& anchor.href.startsWith('http')) {
245244
anchor.target = '_blank';
246245
}
247246
}

0 commit comments

Comments
 (0)