fix error

This commit is contained in:
chiu 2020-08-14 22:46:46 +08:00
parent 394374b1a6
commit 3f68c19491
1 changed files with 2 additions and 2 deletions

View File

@ -509,8 +509,8 @@
}
})
if (!toggle_data){
if (dom.find('td.w-calendar-today').length != 0){
toggle_event(dom.find('td.w-calendar-event.w-calendar-today'),'show')
if (dom.find('td.w-calendar-event.w-calendar-today').length != 0){
toggle_event(dom.find('td.w-calendar-today'),'show')
}else{
toggle_event(dom.find('td'),'hide')
}