aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/main.js
diff options
context:
space:
mode:
authorBuildTools <unconfigured@null.spigotmc.org>2016-12-06 17:44:32 +0100
committerBuildTools <unconfigured@null.spigotmc.org>2016-12-06 17:44:32 +0100
commit6c454f0b13ff71751f8faae9fa6172b6cb0892f7 (patch)
treef83a73c2acd4a8bbd589b40e87995d870973b6ec /public/javascripts/main.js
parent6c91328315e27a16891fc01c1765a1d14b9adb5a (diff)
change layout when keyboard opens on iOS
Diffstat (limited to 'public/javascripts/main.js')
-rw-r--r--public/javascripts/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index 3afb896..c4c8d32 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -221,6 +221,10 @@ if (currentFav) {
inputNode.focus()
}
+window.addEventListener('native.showkeyboard', function (e) {
+ searchNode.className = ''
+})
+
document.body.style.opacity = '1'
window.easterEggs = easterEggs