aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-30 17:04:32 -0700
committerGitHub <noreply@github.com>2017-07-30 17:04:32 -0700
commit5583f519dd7c4843f045029b0e48fd882dd79c71 (patch)
tree778103d6d2822d0f33f8f0b4bab7239767fe7d63 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
parent14185936f46160997ef9eaae92cb3c8eacae93c5 (diff)
downloadfrost-5583f519dd7c4843f045029b0e48fd882dd79c71.tar.gz
frost-5583f519dd7c4843f045029b0e48fd882dd79c71.tar.bz2
frost-5583f519dd7c4843f045029b0e48fd882dd79c71.zip
Feature/disable reload on textarea focus (#101)
* Implement and test * Update themes again
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
index 7d5282d8..cb5125c4 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
@@ -91,6 +91,7 @@ open class FrostWebViewClient(val webCore: FrostWebViewCore) : BaseWebViewClient
webCore.jsInject(
JsActions.LOGIN_CHECK,
JsAssets.CLICK_A.maybe(webCore.baseEnum != null && Prefs.overlayEnabled),
+ JsAssets.TEXTAREA_LISTENER,
JsAssets.CONTEXT_A,
JsAssets.HEADER_BADGES.maybe(webCore.baseEnum != null)
)