diff --git a/src/definitions/modules/calendar.js b/src/definitions/modules/calendar.js index c971bfcc60..df92ce5aea 100644 --- a/src/definitions/modules/calendar.js +++ b/src/definitions/modules/calendar.js @@ -42,7 +42,8 @@ $.fn.calendar = function(parameters) { '15': {'row': 2, 'column': 2 }, '20': {'row': 3, 'column': 1 }, '30': {'row': 2, 'column': 1 } - } + }, + numberText = ['','one','two','three','four','five','six','seven','eight'] ; $allModules @@ -279,7 +280,7 @@ $.fn.calendar = function(parameters) { if (isDay && settings.showWeekNumbers){ tempMode += ' andweek'; } - var table = $('').addClass(className.table).addClass(tempMode).appendTo(container); + var table = $('
').addClass(className.table).addClass(tempMode).addClass(numberText[columns] + ' column').appendTo(container); var textColumns = columns; //no header for time-only mode if (!isTimeOnly) {