Browse Source

Fix escape key not working to close search

pull/4929/head
Jack Lukic 8 years ago
parent
commit
738b9faa16
1 changed files with 1 additions and 0 deletions
  1. 1
      src/definitions/modules/search.js

1
src/definitions/modules/search.js

@ -399,6 +399,7 @@ $.fn.search = function(parameters) {
module.verbose('Triggering native blur event'); module.verbose('Triggering native blur event');
events.initEvent('blur', false, false); events.initEvent('blur', false, false);
promptElement.dispatchEvent(events); promptElement.dispatchEvent(events);
promptElement.blur();
} }
} }
}, },

Loading…
Cancel
Save