mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 19:30:48 +00:00
NoTrue js function
This commit is contained in:
8
ertpl.js
8
ertpl.js
@@ -12,4 +12,12 @@ function changeUrlToFallback(aid,imgid,path) {
|
|||||||
try {
|
try {
|
||||||
document.getElementById(aid).href = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080&a=true";
|
document.getElementById(aid).href = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080&a=true";
|
||||||
} catch {}
|
} 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 {}
|
||||||
}
|
}
|
Reference in New Issue
Block a user