From version 5.1
edited by Jeffrey McDonald
on 2025/04/11 12:31
Change comment: There is no comment for this version
To version 4.1
edited by Jeffrey McDonald
on 2024/10/23 09:23
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -8,9 +8,3 @@
8 8   }
9 9  }
10 10  document.addEventListener("DOMContentLoaded", fixExternalLinks);
11 -
12 -require(['jquery'], function($) {
13 - jQuery(document.links).filter(function() {
14 - return this.hostname != window.location.hostname;
15 - }).attr('target', '_blank');
16 -});