aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/click_interceptor.js
blob: ce55f6693b285e1b6425e43e356fe1dcb2180e4d (plain)
1
2
3
4
5
6
// we will handle click events
console.log('Registering click interceptor');
document.addEventListener('click', function _menuClick(e) {
  var element = e.target || e.srcElement;
  console.log(element.tagName);
}, true);