Skip to content

Commit

Permalink
Fixed deprecated getAttributeNode()
Browse files Browse the repository at this point in the history
  • Loading branch information
bmack committed May 17, 2017
1 parent ecff24f commit 0556e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/Plugins/TYPO3Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/Plugin/Plugin',
}
}
if (UserAgent.isGecko) {
node.href = decodeURI(node.getAttributeNode('href').value);
node.href = decodeURI(node.getAttribute('href'));
}
if (cur_target.trim()) node.target = cur_target.trim();
else node.removeAttribute('target');
Expand Down

0 comments on commit 0556e6b

Please sign in to comment.