fix error

This commit is contained in:
chiu 2020-08-14 22:38:56 +08:00
parent b2a3fbc7c6
commit 3a0dffc1cb
2 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@
}
})
if (!toggle_data){
if (dom.find('td.w-calendar-today').length != 0){
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')

View File

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