Changes for page Home

Last modified by Administrateur local on 2026/03/01 15:03

From version 28.1
edited by Administrateur local
on 2026/03/01 09:54
Change comment: There is no comment for this version
To version 31.1
edited by Administrateur local
on 2026/03/01 15:03
Change comment: There is no comment for this version

Summary

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,4 +25,5 @@
25 25   }
26 26   }
27 27  }
28 +
28 28  document.addEventListener("DOMContentLoaded", fixOpenLinksInNewTab);