Improve the presentation of related links.
This commit is contained in:
parent
a9c7832da1
commit
44e7778578
3 changed files with 37 additions and 17 deletions
|
@ -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(';');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue