Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #585 from janissbinder/566
Browse files Browse the repository at this point in the history
Fixed search placeholder #566
  • Loading branch information
almeidap authored Dec 4, 2017
2 parents f5b0d48 + 517f43c commit b82ce6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
})
.on('typeahead:close', function () {
$(this).closest('.global-search').removeClass('focused');
$(this).closest('form').trigger('reset');
})
.on('keyup', function (event) {
if (event.keyCode === 27) { // ESC
Expand Down

0 comments on commit b82ce6a

Please sign in to comment.