freqdec / datePicker

An attempt at writing a flexible, framework free, feature-rich and accessible datepicker
http://freqdec.github.io/datePicker/
MIT License
171 stars 56 forks source link

Error on next and previous month click #44

Closed lukehaas closed 10 years ago

lukehaas commented 10 years ago

I'm getting the following error in IE8 when I click on the next or previous buttons of the date picker.

Unable to get property 'target' of undefined or null reference

This relates to the following part of the library:

this.onclick = function(e) { if((!cssAnimations && o.opacity != o.opacityTo) || o.disabled || e.target.className.indexOf('not-available') != -1) { return stopEvent(e); };

lukehaas commented 10 years ago

Turned out I was working with a modified version of the library, sorry.