aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-20 19:53:21 -0700
committerAllan Wang <me@allanwang.ca>2017-06-20 19:53:21 -0700
commit89673894356e29ac48ebaba5bd75d03690da1d66 (patch)
tree6a9cc12ea6a1097781b917e480ffa8b138d5c535 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt
parent13b8505674e08cc1610ce7e77d7db8fa292372cf (diff)
downloadfrost-89673894356e29ac48ebaba5bd75d03690da1d66.tar.gz
frost-89673894356e29ac48ebaba5bd75d03690da1d66.tar.bz2
frost-89673894356e29ac48ebaba5bd75d03690da1d66.zip
Fix up url overlays and theme more components
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt
index af13c459..5d44b580 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClientMenu.kt
@@ -36,11 +36,11 @@ class FrostWebViewClientMenu(webCore: FrostWebViewCore) : FrostWebViewClient(web
super.onPageFinished(view, url)
if (url == webCore.baseUrl && content == null) {
jsInject(JsAssets.MENU, callback = {
- jsInject(JsAssets.MENU_CLICK) //menu injection must be after or we will have a loop from the click listener
+// jsInject(JsAssets.CLICK_A) //menu injection must be after or we will have a loop from the click listener
})
- } else if (url == contentBaseUrl) {
- L.i("Inject content")
- jsInject(JsAssets.MENU_CLICK)
+// } else if (url == contentBaseUrl) {
+// L.i("Inject content")
+// jsInject(JsAssets.CLICK_A)
}
}