Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(calendar): remove non-working VoiceOver fix hack
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn committed Aug 13, 2015
1 parent 0777cd9 commit a22b002
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,16 +243,7 @@
/** Attach event listeners for the calendar. */
CalendarCtrl.prototype.attachCalendarEventListeners = function() {
// Keyboard interaction.
//this.calendarElement.addEventListener('keydown', angular.bind(this, this.handleKeyEvent));
this.$element.on('keydown', angular.bind(this, this.handleKeyEvent));

var self = this;
this.calendarScroller.addEventListener('scroll', function() {
if (self.calendarScroller.scrollTop == 0 &&
!self.dateUtil.isSameMonthAndYear(firstRenderableDate, self.displayDate)) {
self.changeDisplayDate(self.displayDate);
}
});
};

/*** User input handling ***/
Expand Down

0 comments on commit a22b002

Please sign in to comment.