Changes for page Home
Last modified by Administrateur local on 2026/03/01 15:03
From version 30.1
edited by Administrateur local
on 2026/03/01 15:02
on 2026/03/01 15:02
Change comment:
There is no comment for this version
To version 28.1
edited by Administrateur local
on 2026/03/01 09:54
on 2026/03/01 09:54
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,4 +1,4 @@ 1 -function fixOpenLinksInNewTab() 1 +function fixOpenLinksInNewTab() 2 2 { 3 3 var nodes = document.querySelectorAll('.wikiexternallink a'); 4 4 for(var i=0; i< nodes.length; i++) ... ... @@ -25,3 +25,4 @@ 25 25 } 26 26 } 27 27 } 28 +document.addEventListener("DOMContentLoaded", fixOpenLinksInNewTab);