Skip to content

Commit

Permalink
Fixed issue #1370.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackowski committed Apr 22, 2015
1 parent 4e04b8a commit 8c99457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/bootstrap-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,8 @@
this.viewDate = new Date(this.o.startDate);
else if (this.viewDate > this.o.endDate)
this.viewDate = new Date(this.o.endDate);
else
this.viewDate = this.o.defaultViewDate;

if (fromArgs){
// setting date by clicking
Expand Down

0 comments on commit 8c99457

Please sign in to comment.