Changes for page Home
Last modified by Administrateur local on 2026/03/01 15:03
From version 27.6
edited by Administrateur local
on 2026/03/01 09:48
on 2026/03/01 09:48
Change comment:
There is no comment for this version
To version 27.10
edited by Administrateur local
on 2026/03/01 09:52
on 2026/03/01 09:52
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -10,6 +10,11 @@ 10 10 { 11 11 link.setAttribute('target', '_blank'); 12 12 } 13 + if (linkClasses.includes('internalLink') == true && link.hasAttribute('target') == true) 14 + { 15 + console.log('Hardis : delete target blank'); 16 + link.removeAttribute('target'); 17 + } 13 13 } 14 14 var nodes = document.querySelectorAll('.wikiattachmentlink a'); 15 15 for(var i=0; i< nodes.length; i++)