aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/click_a.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/assets/js/click_a.min.js')
-rw-r--r--app/src/main/assets/js/click_a.min.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/assets/js/click_a.min.js b/app/src/main/assets/js/click_a.min.js
index 059c1183..c7870e2f 100644
--- a/app/src/main/assets/js/click_a.min.js
+++ b/app/src/main/assets/js/click_a.min.js
@@ -8,8 +8,8 @@ var t=e.target||e.srcElement
var n=t.getAttribute("href")
;if(n.includes("photoset_token"))return
;prevented||(console.log("Click Intercept",n),
-Frost.loadUrl(n)),e.stopPropagation(),
-e.preventDefault()
+"undefined"!=typeof Frost&&Frost.loadUrl(n)),
+e.stopPropagation(),e.preventDefault()
}
},_frostPreventClick=function(){
console.log("Click prevented"),prevented=!0