summaryrefslogtreecommitdiffstats
path: root/apps/calendar/js/calendar.js
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-02 21:29:59 +0200
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-02 21:29:59 +0200
commit6eff001ebba9b4db8aba9cabc3dc05d5828e10e7 (patch)
tree2fdeceb26b5a29a777f7c44e76a148e24d2f1be3 /apps/calendar/js/calendar.js
parent1940bc3dc0ae44da80b8b157b3d7863fc6ba6930 (diff)
downloadnextcloud-server-6eff001ebba9b4db8aba9cabc3dc05d5828e10e7.tar.gz
nextcloud-server-6eff001ebba9b4db8aba9cabc3dc05d5828e10e7.zip
another bugfix in new design of calendar
Diffstat (limited to 'apps/calendar/js/calendar.js')
-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(){