Skip to content
Browse files

Update js/jquery.calendario.js

Not a bug, but it could be more user-friendly..?

Comply with examples.
cal.setData( {
    '03-01-2013' : '<a href="#">testing</a>',
    '03-10-2013' : '<a href="#">testing</a>',
    '03-12-2013' : '<a href="#">testing</a>'
} );
// goes to a specific month/year
cal.goto( 3, 2013, updateMonthYear );
  • Loading branch information...
1 parent b4b8624 commit 766da90605f25e58caa6c278bb9acdc741205a99 @wai wai committed Dec 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.calendario.js
View
2 js/jquery.calendario.js
@@ -302,7 +302,7 @@
// goes to month/year
goto : function( month, year, callback ) {
- this.month = month;
+ this.month = month - 1;
this.year = year;
this._generateTemplate( callback );

0 comments on commit 766da90

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