fix for +show button appearing when it shouldn't when changing time resolution.
This commit is contained in:
parent
1b705939a2
commit
8cb91726f7
|
@ -71,7 +71,7 @@ function viewDisplay( view ) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(($("#add-show-form").length == 1) && ($('.fc-header-left tbody td').length == 5)) {
|
if(($("#add-show-form").length == 1) && ($("#add-show-form").css('display')=='none') && ($('.fc-header-left tbody td').length == 5)) {
|
||||||
makeAddShowButton();
|
makeAddShowButton();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue