Update week.jsx
parent
41a8287d8f
commit
4b1d1de969
|
@ -105,10 +105,15 @@ export class Modi_Week{
|
||||||
|
|
||||||
|
|
||||||
for(d in weeks[w].data){
|
for(d in weeks[w].data){
|
||||||
for(t in weeks[w].data[d][5]){
|
for(t in weeks[w].data[d][5])
|
||||||
|
{
|
||||||
|
if(typeof weeks[w].data[d][5][t] != "undefined")
|
||||||
|
{
|
||||||
if(weeks[w].data[d][5][t].trim()===""){
|
if(weeks[w].data[d][5][t].trim()===""){
|
||||||
weeks[w].data[d][5].splice(t,1);
|
weeks[w].data[d][5].splice(t,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(weeks[w].data[d][5].length <=0){
|
if(weeks[w].data[d][5].length <=0){
|
||||||
weeks[w].data.splice(d,1);
|
weeks[w].data.splice(d,1);
|
||||||
|
|
Loading…
Reference in New Issue