Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dangrossman/bootstrap-daterangepi…
Browse files Browse the repository at this point in the history
…cker
  • Loading branch information
dangrossman committed Apr 29, 2018
2 parents 0a6f918 + 1e1d089 commit 5009153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daterangepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@

//if a new date range was selected, invoke the user callback function
if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate))
this.callback(this.startDate, this.endDate, this.chosenLabel);
this.callback(this.startDate.clone(), this.endDate.clone(), this.chosenLabel);

//if picker is attached to a text input, update it
this.updateElement();
Expand Down

0 comments on commit 5009153

Please sign in to comment.