Skip to content

Commit

Permalink
Merge branch 'vanilla'
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Mead-Robins committed Dec 3, 2016
2 parents 2895330 + 53d48ae commit 1f6b20e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.c9revisions
.c9
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# Changelog

## 1.5.1 - 2016-10-28

- Only set attribute if field is bound, see #567

## 1.5.0 - 2016-10-27

- Make Pikaday accessibile, see #522
- Add possibility to reset the max and min date to the date picker
- Make Pikaday XHTML compatible, see #492
- Remove unnecessary setTimeout call, fixes #496
- Make disabled buttons not clickable in IE 10 and below, fixes #288
- Show days in next and previous months

## 1.4.0 - 2015-10-30

- Fix touch device support, see #374, #276, #301, #303, #324, #366 and #386
- Add theme example with triangles added to the dropdowns, see #380
- Fix touch device support, see #374
- Add possibility to reset the max and min date to the date picker

## 1.4.0 - Time
- Add option to change increment value of time. Thanks @andreynering
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pikaday-time",
"repo": "owenmead/Pikaday",
"description": "Time support added to pikaday",
"version": "1.4.0",
"version": "1.5.1",
"keywords": [
"datepicker",
"calendar",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pikaday-time",
"version": "1.4.0",
"version": "1.5.1",
"description": "Time support added to pikaday",
"keywords": [
"datepicker",
Expand Down
7 changes: 5 additions & 2 deletions pikaday.js
Original file line number Diff line number Diff line change
Expand Up @@ -1126,8 +1126,11 @@
if (typeof this._o.onDraw === 'function') {
this._o.onDraw(this);
}
// let the screen reader user know to use arrow keys
this._o.field.setAttribute('aria-label', 'Use the arrow keys to pick a date');

if (opts.bound) {
// let the screen reader user know to use arrow keys
opts.field.setAttribute('aria-label', 'Use the arrow keys to pick a date');
}
},

adjustPosition: function()
Expand Down

0 comments on commit 1f6b20e

Please sign in to comment.