Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Version 0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
petethepig committed Jan 13, 2016
1 parent bcc7e32 commit c1bb4e5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/daterangepicker.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* knockout-daterangepicker
* version: 0.0.8
* version: 0.0.9
* authors: Sensor Tower team
* license: MIT
* https://sensortower.github.io/daterangepicker
Expand Down
12 changes: 9 additions & 3 deletions dist/daterangepicker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* knockout-daterangepicker
* version: 0.0.8
* version: 0.0.9
* authors: Sensor Tower team
* license: MIT
* https://sensortower.github.io/daterangepicker
Expand Down Expand Up @@ -661,17 +661,23 @@
};

CalendarHeaderView.prototype.prevArrowCss = function() {
var date;
var date, ref;
date = this.firstDate().clone().subtract(1, 'millisecond');
if ((ref = this.period()) === 'day' || ref === 'week') {
date = date.endOf('month');
}
return {
'arrow-hidden': !this.currentDate.isWithinBoundaries(date)
};
};

CalendarHeaderView.prototype.nextArrowCss = function() {
var cols, date, ref, rows;
var cols, date, ref, ref1, rows;
ref = this.period.dimentions(), cols = ref[0], rows = ref[1];
date = this.firstDate().clone().add(cols * rows, this.period());
if ((ref1 = this.period()) === 'day' || ref1 === 'week') {
date = date.startOf('month');
}
return {
'arrow-hidden': !this.currentDate.isWithinBoundaries(date)
};
Expand Down
2 changes: 1 addition & 1 deletion dist/daterangepicker.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1bb4e5

Please sign in to comment.