aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/menu_click.js
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-15 15:49:20 -0700
committerAllan Wang <me@allanwang.ca>2017-06-15 15:49:20 -0700
commit9e0044f8789a47a41933d341b968fe0a6bc22b6d (patch)
tree551096bd404331a39022e81853aff003236bb234 /app/src/main/assets/js/menu_click.js
parent610c37698ab93b8d51efcaec9f721292cacfd854 (diff)
downloadfrost-9e0044f8789a47a41933d341b968fe0a6bc22b6d.tar.gz
frost-9e0044f8789a47a41933d341b968fe0a6bc22b6d.tar.bz2
frost-9e0044f8789a47a41933d341b968fe0a6bc22b6d.zip
Add full theming
Diffstat (limited to 'app/src/main/assets/js/menu_click.js')
-rw-r--r--app/src/main/assets/js/menu_click.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/assets/js/menu_click.js b/app/src/main/assets/js/menu_click.js
index 3bd0314f..65c1c401 100644
--- a/app/src/main/assets/js/menu_click.js
+++ b/app/src/main/assets/js/menu_click.js
@@ -8,8 +8,9 @@ document.onclick = function(e) {
var url = element.href;
console.log('Click Intercept');
console.log(url);
- if (url !== "https://m.facebook.com/settings" && url !== "https://m.facebook.com/settings#" && url !== "https://m.facebook.com/settings#!/settings?soft=bookmarks")
+ if (url !== "https://m.facebook.com/settings" && url !== "https://m.facebook.com/settings#" && url !== "https://m.facebook.com/settings#!/settings?soft=bookmarks") {
Frost.loadUrl(url);
Frost.reloadBaseUrl(); //temporary workaround
+ }
}
};