aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/assets/js')
-rw-r--r--app/src/main/assets/js/click_a.js2
-rw-r--r--app/src/main/assets/js/click_a.min.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/assets/js/click_a.js b/app/src/main/assets/js/click_a.js
index 2f5d759f..1ced820a 100644
--- a/app/src/main/assets/js/click_a.js
+++ b/app/src/main/assets/js/click_a.js
@@ -25,6 +25,8 @@ if (!window.hasOwnProperty('frost_click_a')) {
e.stopPropagation();
e.preventDefault();
}
+ } else {
+ console.log('Click Intercept Prevented');
}
}
}
diff --git a/app/src/main/assets/js/click_a.min.js b/app/src/main/assets/js/click_a.min.js
index a0df6912..7abaaac6 100644
--- a/app/src/main/assets/js/click_a.min.js
+++ b/app/src/main/assets/js/click_a.min.js
@@ -4,7 +4,7 @@ window.frost_click_a=!0
;var prevented=!1,_frostAClick=function(e){
var t=e.target||e.srcElement
;if("A"!==t.tagName&&(t=t.parentNode),"A"!==t.tagName&&(t=t.parentNode),
-"A"===t.tagName&&!prevented){
+"A"===t.tagName)if(prevented)console.log("Click Intercept Prevented");else{
var o=t.getAttribute("href")
;console.log("Click Intercept",o),"undefined"!=typeof Frost&&Frost.loadUrl(o)&&(e.stopPropagation(),
e.preventDefault())