Skip to content

Commit

Permalink
Merge pull request #885 from naypa/master
Browse files Browse the repository at this point in the history
Fix an undefined reference error
  • Loading branch information
mlh758 authored Sep 27, 2023
2 parents 58cae16 + 5422283 commit 18a3416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jquery.multiselect.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@
* This is where special behavior like ALT-R for reset is bound
*/
_bindInputEvents: function() {
var $element = this.element;

this.$input.on({
keydown: function(e) {
// prevent the enter key from submitting the form / closing the widget
Expand Down

0 comments on commit 18a3416

Please sign in to comment.