forked from rDrama/rDrama
1
0
Fork 0

fix old comment images

master
Aevann 2023-01-01 13:17:29 +02:00
parent 8a1343e739
commit f68372a3f2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ function execute(element, attr) {
document.addEventListener("click", function(e){
const element = e.target
if (element instanceof HTMLImageElement && element.alt.startsWith('![]('))
if (element instanceof HTMLImageElement && (element.alt.startsWith('![](')) || element.classList.contains('in-comment-image'))
expandImage()
else if (element.tagName == "TH")
sort_table(element)