Changes for page Nice Display
Last modified by Benjamin Fischer on 2025/03/26 13:19
From version 45.30
edited by Benjamin Fischer
on 2025/03/26 13:18
on 2025/03/26 13:18
Change comment:
There is no comment for this version
To version 45.29
edited by Benjamin Fischer
on 2025/03/26 13:16
on 2025/03/26 13:16
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -43,10 +43,9 @@ 43 43 // column tooltips 44 44 mats.querySelectorAll(".xwiki-livetable-display-header-text").forEach( 45 45 el => { 46 - const t = el.textContent.trim(); 47 - const c = colTT[t] 46 + const c = colTT[el.textContent] 48 48 if (c) { 49 - el.title = t; 48 + el.title = el.textContent; 50 50 el.dataset.content = c; 51 51 el.dataset.toggle = "popover"; 52 52 el.dataset.placement = "top";