Skip to content

Commit

Permalink
Merge pull request #23 from longtomjr/master
Browse files Browse the repository at this point in the history
Removed the ability to create a time limit in the pass
  • Loading branch information
longtomjr committed Jan 11, 2017
2 parents d58afe1 + fd5ca6b commit 0787c06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion public/js/createController.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,9 @@ $('#timeLimit').change(function () {
}
});
$(function () {
$('#closingDate').datetimepicker();
$('#closingDate').datetimepicker({
defaultDate: moment().add(48, 'hours'), // @TODO - make this work.
//Currently it does not work (for some reason.)
minDate: moment().add(2, 'hours'),
});
});

0 comments on commit 0787c06

Please sign in to comment.