Issue with EventsList example
Closed this issue · 0 comments
bentoo commented
This is a simple item to fix. However, I wanted to let you know about it.
When I go to:
http://localhost/touchcalendar/examples/events-list.html
and click on Month or Year, I get a javascript error:
Uncaught TypeError: Object [object Object] has no method 'setMode' events-list.html:49
The example should have
calendar.setViewMode('month');
calendar.setViewMode('week');
instead of:
calendar.setMode('month');
calendar.setViewMode('week');