let html be displayed naturally

closes #83
This commit is contained in:
Pierre Dubouilh
2023-07-08 15:25:11 +02:00
committed by Pierre Dubouilh
parent 7b899af6a8
commit a342c79aea
+3
View File
@@ -99,6 +99,9 @@ window.onClickLink = e => {
} else if (isVideo(a.href) && !isVideoMode()) {
videoOn(a.href)
return false
// let html be displayed naturally
} else if (a.innerText.endsWith(".html")) {
return true
}
// else just force download