Skip to content

Commit

Permalink
custom.js: Doesn't empty search bar on blur
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed Dec 4, 2024
1 parent 8af68dc commit 8018bc7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,6 @@ $(document).ready(function() {
}
});

$(document).on('blur', '#search_input', function(event) {
setTimeout(() => {
$('#search_input').val('');
}, 0);
});

$('#search_input, label.md-search__icon').on('click', function() {
var toggle = document.querySelector('[data-md-toggle=search]');
toggle.checked = true;
Expand Down

0 comments on commit 8018bc7

Please sign in to comment.