aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/menu_click.min.js
blob: 4d508f7126feec26afe38ecac37915e77e06a431 (plain)
1
2
3
4
5
6
7
8
console.log("Registering menu click"),document.addEventListener("click",function(e){
var t=e.target||e.srcElement
;if("A"!==t.tagName&&(t=t.parentNode),"A"===t.tagName&&"#"!==t.getAttribute("href")){
var o=t.href
;console.log("Click Intercept"),console.log(o),Frost.loadUrl(o),e.stopPropagation(),
e.preventDefault()
}
},!0);