Skip to content

Commit

Permalink
Unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
dangrossman committed Dec 17, 2015
1 parent 87b3b4b commit 7f705b7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions daterangepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -863,9 +863,6 @@
selected.hour(0);
}

if (selected.isBefore(this.startDate))
selected = this.startDate.clone();

if (selected.isAfter(maxDate))
selected = maxDate.clone();

Expand Down

0 comments on commit 7f705b7

Please sign in to comment.