Improve the presentation of related links.

This commit is contained in:
Schimon Jehudah, Adv. 2024-07-14 14:14:34 +03:00
parent a9c7832da1
commit 44e7778578
3 changed files with 37 additions and 17 deletions

View file

@ -136,6 +136,7 @@ window.onload = async function(){
// Convert URI xmpp: to URI http: links.
for (let xmppLink of document.querySelectorAll(
'#articles h3 > a[href^="xmpp:"][id^="rivista-"],' +
'#articles h5.related > a[class^="rivista-"],' +
'#journal > ol > li > a[href^="xmpp:"]')) {
xmppUri = new URL(xmppLink);
let parameters = xmppUri.search.split(';');