Skip to content
Browse files

fix example - `two` is not defined

use `small` and `large` calendars in event listeners for `one` calendar
  • Loading branch information...
1 parent 5f04a9c commit 9141fa6d976e7e2bb5637b9ebd7a7065c51e711c @pirxpilot pirxpilot committed Feb 16, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 example.html
View
4 example.html
@@ -48,7 +48,7 @@
console.log('change %s', action);
var twoDate = new Date(date);
twoDate.setMonth(date.getMonth() + 1)
- two.show(twoDate);
+ small.show(twoDate);
});
one.on('change', function(date){
@@ -58,7 +58,7 @@
date.getFullYear());
var newDate = new Date(date);
newDate.setMonth(date.getMonth() + 1);
- two.select(newDate);
+ large.select(newDate);
});
one.el.appendTo('body');

0 comments on commit 9141fa6

Please sign in to comment.
Something went wrong with that request. Please try again.