We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437f13a commit 0af120dCopy full SHA for 0af120d
1 file changed
views/includes/scripts/searchBar.html
@@ -30,7 +30,13 @@
30
var container = target.closest('div.input-group');
31
var inputNode = null;
32
var buttonNode = null;
33
- var ev = new Event('input');
+ var ev = null;
34
+ try {
35
+ ev = new Event('input');
36
+ } catch (aE) {
37
+ ev = document.createEvent('Event');
38
+ ev.initEvent('input', true, true);
39
+ }
40
41
if (container) {
42
inputNode = container.querySelector('input[type=text].search');
@@ -52,7 +58,13 @@
52
58
var i = null;
53
59
var thisNode = null;
54
60
var nodes = null;
55
61
62
63
64
65
66
67
56
68
57
69
nodes = document.querySelectorAll('input[type=text].search');
70
for (i = 0; thisNode = nodes[i++];) {
0 commit comments