aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/main.js')
-rw-r--r--public/javascripts/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index 7daedcf..63c3f66 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -185,6 +185,9 @@ window.addEventListener('blur', function () {
const oldValue = inputNode.value
inputNode.value = ''
inputNode.value = oldValue
+
+ // this will hide the keyboard (iOS safari)
+ document.activeElement.blur()
})
searchNode.addEventListener('blur', function (e) {