No more + signs in attribution titles

This commit is contained in:
ehpersonal38
2022-05-25 12:05:44 -04:00
parent 76367a9f9d
commit e4a595bacc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ body::-webkit-scrollbar {
}
function setModalText(iter, title, text, authorlink, photolink) {
document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replace("+"," "))+"\" Attribution";
document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replaceAll("+"," "))+"\" Attribution";
document.getElementById('modalText').innerHTML = "<div><img style='border-radius:5px' src='"+photolink+"'></div><br><div>Image link: <a target='_blank' href="+text+">"+text+"</a><br>Author link: <a target='_blank' href="+authorlink+">"+authorlink+"</a></div>";
showDialog();
}