summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/calendar/js/calendar.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index de5066cdc44..265c66a25b0 100755
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -613,24 +613,21 @@ Calendar={
}
if(oc_cal_rows == 4){
for(var i = 1;i <= 6;i++){
- $("#onemonthview_week_" + i).height("23%");
+ $("#onemonthview_week_" + String(i)).height("23%");
}
- $("td.thisday").height("23%");
}
if(oc_cal_rows == 5) {
$("#onemonthview_week_5").css('display', "table-row");
for(var i = 1;i <= 6;i++){
- $("#onemonthview_week_" + i).height("18%");
+ $("#onemonthview_week_" + String(i)).height("18%");
}
- $("td.thisday").height("18%");
}
if(oc_cal_rows == 6) {
$("#onemonthview_week_5").css('display', "table-row");
$("#onemonthview_week_6").css('display', "table-row");
for(var i = 1;i <= 6;i++){
- $("#onemonthview_week_" + i).height("14%");
+ $("#onemonthview_week_" + String(i)).height("14%");
}
- $("td.thisday").height("14%");
}
},
showEvents:function(){