another bugfix in new design of calendar
This commit is contained in:
parent
1940bc3dc0
commit
6eff001ebb
|
@ -613,24 +613,21 @@ Calendar={
|
||||||
}
|
}
|
||||||
if(oc_cal_rows == 4){
|
if(oc_cal_rows == 4){
|
||||||
for(var i = 1;i <= 6;i++){
|
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) {
|
if(oc_cal_rows == 5) {
|
||||||
$("#onemonthview_week_5").css('display', "table-row");
|
$("#onemonthview_week_5").css('display', "table-row");
|
||||||
for(var i = 1;i <= 6;i++){
|
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) {
|
if(oc_cal_rows == 6) {
|
||||||
$("#onemonthview_week_5").css('display', "table-row");
|
$("#onemonthview_week_5").css('display', "table-row");
|
||||||
$("#onemonthview_week_6").css('display', "table-row");
|
$("#onemonthview_week_6").css('display', "table-row");
|
||||||
for(var i = 1;i <= 6;i++){
|
for(var i = 1;i <= 6;i++){
|
||||||
$("#onemonthview_week_" + i).height("14%");
|
$("#onemonthview_week_" + String(i)).height("14%");
|
||||||
}
|
}
|
||||||
$("td.thisday").height("14%");
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showEvents:function(){
|
showEvents:function(){
|
||||||
|
|
Loading…
Reference in New Issue