Skip to content

Commit

Permalink
Fix interactor day selection (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakilebara authored and duizendnegen committed Jun 28, 2018
1 parent b544d5d commit e367b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/helpers/pikaday.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var PikadayInteractor = {
$(this.selectorForMonthSelect).val(month);
triggerNativeEvent($(this.selectorForMonthSelect)[0], 'change');

triggerNativeEvent($('td[data-day="' + day + '"] button:visible')[0], selectEvent);
triggerNativeEvent($('td[data-day="' + day + '"]:not(.is-outside-current-month) button:visible')[0], selectEvent);
},
selectedDay: function() {
return $('.pika-single td.is-selected button').html();
Expand Down

0 comments on commit e367b56

Please sign in to comment.