fix error

This commit is contained in:
chiu committed 2020-08-14 22:46:46 +08:00
1 parent 394374b1a6
commit 3f68c19491
1 file changed
+2 -2
+2 -2
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')
}