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.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index 123a2f1..c492ace 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -67,3 +67,7 @@ getUsers().then(function (users) {
inputNode.addEventListener('click', function () {
inputNode.select()
})
+
+inputNode.addEventListener('blur', function () {
+ inputNode.selectionStart = inputNode.selectionEnd = -1
+})