Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Added `change` event trigger
  • Loading branch information
dmuy committed Sep 2, 2018
1 parent 3cfaa04 commit 383ef51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion duDatepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ if (typeof jQuery === 'undefined') throw new Error('duDatePicker: This plugin re

/* Triggers the datechanged and onchange (for asp.net) events */
triggerChange: function (evt) {
this.input.trigger(evt).trigger('onchange');
this.input.trigger(evt).trigger('onchange').trigger('change');
},

/* Parses date string using default or specified format. */
Expand Down
Loading

0 comments on commit 383ef51

Please sign in to comment.