Changes for page Helpers
Last modified by Benjamin Fischer on 2025/06/17 11:57
From version 1.19
edited by Benjamin Fischer
on 2025/05/15 17:02
on 2025/05/15 17:02
Change comment:
There is no comment for this version
To version 1.18
edited by Benjamin Fischer
on 2025/05/15 17:00
on 2025/05/15 17:00
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -121,7 +121,7 @@ 121 121 if (u.hostname.includes("youtube")) icon = "youtube-play"; 122 122 if (u.pathname.endsWith(".pdf")) icon = "file-pdf-o"; 123 123 if (u.pathname.endsWith(".pptx")) icon = "file-powerpoint-o"; 124 - if (u.pathname.endsWith(".ipynb")) icon = " code";124 + if (u.pathname.endsWith(".ipynb")) icon = "file-text-o"; 125 125 if (icon) { 126 126 const s = a.ownerDocument.createElement("span"); 127 127 s.appendChild(a.ownerDocument.createElement("wbr"));