aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/click_a.min.js
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-10 14:25:29 -0500
committerGitHub <noreply@github.com>2017-12-10 14:25:29 -0500
commit1d4380cee77fc049a54d280a27dcefa3fa6ff1fd (patch)
tree6aa222b3f88862a46c8ffd0e46bfb94755d54729 /app/src/main/assets/js/click_a.min.js
parent30eb51a44a271512e27c97aecc02f3a339f572bf (diff)
downloadfrost-1d4380cee77fc049a54d280a27dcefa3fa6ff1fd.tar.gz
frost-1d4380cee77fc049a54d280a27dcefa3fa6ff1fd.tar.bz2
frost-1d4380cee77fc049a54d280a27dcefa3fa6ff1fd.zip
theme (#546)
* Update to coffee and use webstorm * Add chrome as well * Update all * Reinstall android 27
Diffstat (limited to 'app/src/main/assets/js/click_a.min.js')
-rw-r--r--app/src/main/assets/js/click_a.min.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/app/src/main/assets/js/click_a.min.js b/app/src/main/assets/js/click_a.min.js
deleted file mode 100644
index 7abaaac6..00000000
--- a/app/src/main/assets/js/click_a.min.js
+++ /dev/null
@@ -1,22 +0,0 @@
-if(!window.hasOwnProperty("frost_click_a")){
-console.log("Registering frost_click_a"),
-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)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())
-}
-},_frostPreventClick=function(){
-console.log("Click prevented"),prevented=!0
-}
-;document.addEventListener("click",_frostAClick,!0)
-;var clickTimeout
-;document.addEventListener("touchstart",function(e){
-clickTimeout=setTimeout(_frostPreventClick,400)
-},!0),document.addEventListener("touchend",function(e){
-prevented=!1,clearTimeout(clickTimeout)
-},!0)
-} \ No newline at end of file