aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-13 20:18:04 -0700
committerAllan Wang <me@allanwang.ca>2017-06-13 20:18:04 -0700
commitdc032ff328fc5e7db3a2ce807ce07c71a1c2d200 (patch)
treebb20824aa3a08b6d1d8288d9be31a0cf06f4cbb1 /app/src/main/assets/js
parent0ac9d2181536b79a6057c3b526f32a1cc8ac4704 (diff)
downloadfrost-dc032ff328fc5e7db3a2ce807ce07c71a1c2d200.tar.gz
frost-dc032ff328fc5e7db3a2ce807ce07c71a1c2d200.tar.bz2
frost-dc032ff328fc5e7db3a2ce807ce07c71a1c2d200.zip
Add sass for newsfeed
Diffstat (limited to 'app/src/main/assets/js')
-rw-r--r--app/src/main/assets/js/menu_click.js1
-rw-r--r--app/src/main/assets/js/menu_click.min.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/assets/js/menu_click.js b/app/src/main/assets/js/menu_click.js
index 5698cbf0..3bd0314f 100644
--- a/app/src/main/assets/js/menu_click.js
+++ b/app/src/main/assets/js/menu_click.js
@@ -1,6 +1,5 @@
// we will handle click events
document.onclick = function(e) {
- e.preventDefault ? e.preventDefault() : e.returnValue = false;
e = e || window.event;
var element = e.target || e.srcElement;
if (element.tagName !== 'A')
diff --git a/app/src/main/assets/js/menu_click.min.js b/app/src/main/assets/js/menu_click.min.js
index f404e360..d6c45a74 100644
--- a/app/src/main/assets/js/menu_click.min.js
+++ b/app/src/main/assets/js/menu_click.min.js
@@ -1 +1 @@
-document.onclick=function(c){c.preventDefault?c.preventDefault():c.returnValue=false;c=c||window.event;var b=c.target||c.srcElement;if(b.tagName!=="A"){b=b.parentNode}if(b.tagName==="A"){var a=b.href;console.log("Click Intercept");console.log(a);if(a!=="https://m.facebook.com/settings"&&a!=="https://m.facebook.com/settings#"&&a!=="https://m.facebook.com/settings#!/settings?soft=bookmarks"){Frost.loadUrl(a)}Frost.reloadBaseUrl()}}; \ No newline at end of file
+document.onclick=function(c){c=c||window.event;var b=c.target||c.srcElement;if(b.tagName!=="A"){b=b.parentNode}if(b.tagName==="A"){var a=b.href;console.log("Click Intercept");console.log(a);if(a!=="https://m.facebook.com/settings"&&a!=="https://m.facebook.com/settings#"&&a!=="https://m.facebook.com/settings#!/settings?soft=bookmarks"){Frost.loadUrl(a)}Frost.reloadBaseUrl()}}; \ No newline at end of file