Skip to content

Commit

Permalink
fix e.path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PitPik committed Jul 25, 2016
1 parent e3d6304 commit 1cde9ff
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion datePicker.css
Expand Up @@ -86,7 +86,7 @@
.previous-month:active:before,
.next-month:active:before,
.current-month:active:before {
background-color: #333;
background-color: #2e2e2e;
}
.selected-day:before,
.previous-month:active:before,
Expand Down
2 changes: 1 addition & 1 deletion datePicker.js
Expand Up @@ -162,7 +162,7 @@
_this.currentDate = getDateObject(assembleDate(_this.date)); // is new object

addLimiters(_this, options, e.target, _this.currentPartner, id);
renderDatePicker(_this, e.target, _this.date);
setTimeout(function() {renderDatePicker(_this, e.target, _this.date)}, 0);
_this.toggled = false;
} else if (_this.isOpen && _this.datePicker && path.indexOf(_this.datePicker) === -1) {
_this.isOpen = false;
Expand Down
4 changes: 2 additions & 2 deletions datePicker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datePicker.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions index.html
Expand Up @@ -304,8 +304,10 @@ <h2>calendar.js</h2>
});

window.myDatePicker_11 = new DatePicker('.date-11', extend({
closeOnSelect: false,
renderCallback: function(container, element, toggled) {
markRangeDays.call(this, container, element, toggled);
addButtons.call(this, container, element, toggled);

return true; // triggers default behaviour
}
Expand Down
4 changes: 2 additions & 2 deletions jqDatePicker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jqDatePicker.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "tinyDatePicker",
"version": "0.9.0",
"version": "0.9.5",
"repository": {
"type": "git",
"url": "http://github.com/PitPik/tinyDatePicker.git"
Expand Down

0 comments on commit 1cde9ff

Please sign in to comment.