From 9edbbfc1057235194249112f032e450c938c2e68 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 19:58:09 +0100 Subject: fix bug not properly removing selection --- public/javascripts/bundle.js | 13 +++++++------ public/javascripts/main.js | 11 ++++++----- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'public') diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index faa2ba5..0faf5a6 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -803,11 +803,12 @@ inputNode.addEventListener('click', function () { inputNode.select(); }); -inputNode.addEventListener('blur', function () { - var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); - if (!isSafari) { - inputNode.selectionStart = inputNode.selectionEnd = -1; - } +window.addEventListener('blur', function () { + // this will removed the selection without drawing focus on it (safari) + // this will removed selection even when focusing an iframe (chrome) + var oldValue = inputNode.value; + inputNode.value = ''; + inputNode.value = oldValue; }); searchNode.addEventListener('blur', function (e) { @@ -862,4 +863,4 @@ document.body.style.opacity = '1'; window.easterEggs = easterEggs; },{"./easterEggs":5,"./getURLOfUser":6,"./getWeek":7,"diacritics":1,"flexibility":2,"fuzzy":3}]},{},[8]) -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvZGlhY3JpdGljcy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9mbGV4aWJpbGl0eS9mbGV4aWJpbGl0eS5qcyIsIm5vZGVfbW9kdWxlcy9mdXp6eS9saWIvZnV6enkuanMiLCJub2RlX21vZHVsZXMvbGVmdC1wYWQvaW5kZXguanMiLCJwdWJsaWMvamF2YXNjcmlwdHMvZWFzdGVyRWdncy5qcyIsInB1YmxpYy9qYXZhc2NyaXB0cy9nZXRVUkxPZlVzZXIuanMiLCJwdWJsaWMvamF2YXNjcmlwdHM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FjdGlvbiA9ICdUZWFjaGVyJ1xuICAgICAgYnJlYWtcbiAgICBjYXNlICdyJzpcbiAgICAgIGV2ZW50QWN0aW9uID0gJ1Jvb20nXG4gICAgICBicmVha1xuICAgIGNhc2UgJ3MnOlxuICAgICAgZXZlbnRBY3Rpb24gPSAnU3R1ZGVudCdcbiAgICAgIGJyZWFrXG4gIH1cbiAgY29uc3QgZXZlbnRMYWJlbCA9IHNlbGVjdGVkVXNlci52YWx1ZVxuXG4gIGdhKGZ1bmN0aW9uICgpIHtcbiAgICBnYSgnc2VuZCcsIHsgaGl0VHlwZTogJ2V2ZW50JywgZXZlbnRDYXRlZ29yeTogJ3NlYXJjaCBmYXYnLCBldmVudEFjdGlvbiwgZXZlbnRMYWJlbCB9KVxuICB9KVxufSBlbHNlIGlmIChpbnB1dE5vZGUudmFsdWUgPT09ICcnKSB7XG4gIGRvY3VtZW50LmJvZHkuY2xhc3NMaXN0LmFkZCgnbm8taW5wdXQnKVxuICBpbnB1dE5vZGUuZm9jdXMoKVxufVxuXG5kb2N1bWVudC5ib2R5LnN0eWxlLm9wYWNpdHkgPSAnMSdcblxud2luZG93LmVhc3RlckVnZ3MgPSBlYXN0ZXJFZ2dzXG4iXX0= diff --git a/public/javascripts/main.js b/public/javascripts/main.js index 62bf3a2..f9cc0db 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -171,11 +171,12 @@ inputNode.addEventListener('click', function () { inputNode.select() }) -inputNode.addEventListener('blur', function () { - const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent) - if (!isSafari) { - inputNode.selectionStart = inputNode.selectionEnd = -1 - } +window.addEventListener('blur', function () { + // this will removed the selection without drawing focus on it (safari) + // this will removed selection even when focusing an iframe (chrome) + const oldValue = inputNode.value + inputNode.value = '' + inputNode.value = oldValue }) searchNode.addEventListener('blur', function (e) { -- cgit v1.1