From 9187e6b66526597d02dc22fbd929dcc0cc49fd55 Mon Sep 17 00:00:00 2001 From: Leocraft1 <119003014+Leocraft1@users.noreply.github.com> Date: Thu, 10 Apr 2025 13:15:34 +0000 Subject: [PATCH] NoTrue js function --- ertpl.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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