Skip to content

Commit

Permalink
fix datepicker test page
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Nov 17, 2016
1 parent 3e3f4aa commit 7b85607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/strand-datepicker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ <h5 style="display: inline-block;">Direction</h5>
window._whichDpPreset = !window._whichDpPreset;
if(window._whichDpPreset) {
dp.rangePresets = [
{name:"Last 2 Days", value:"Last 7 Days", start:moment().subtract(2, 'days'), end:moment()},
{name:"Last 3 Days", value:"Last 14 Days", start:moment().subtract(3, 'days'), end:moment()}
{name:"Last 2 Days", value:"Last 2 Days", start:moment().subtract(2, 'days'), end:moment()},
{name:"Last 3 Days", value:"Last 3 Days", start:moment().subtract(3, 'days'), end:moment()}
];
} else {
dp.rangePresets = [
Expand Down

0 comments on commit 7b85607

Please sign in to comment.