diff --git a/ertpl.js b/ertpl.js index f925452..ca7daa5 100644 --- a/ertpl.js +++ b/ertpl.js @@ -12,4 +12,12 @@ function changeUrlToFallback(aid,imgid,path) { try { document.getElementById(aid).href = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080&a=true"; } catch {} +} +function changeUrlToFallbackNoTrue(aid,imgid,path) { + try { + document.getElementById(imgid).src = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080"; + } catch {} + try { + document.getElementById(aid).href = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080"; + } catch {} } \ No newline at end of file