aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/menu_click.min.js
blob: 606712655fa468a3e2936fd68138822139c38c37 (plain)
1
2
3
4
5
6
7
8
9
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.getAttribute("href")
;console.log("Click Intercept"),console.log(o),Frost.loadUrl(o),
e.stopPropagation(),
e.preventDefault()
}
},!0);