Fixed New Show button sliding when you clicked on the calendar

This commit is contained in:
Albert Santoni 2015-08-28 20:08:52 -04:00
parent 13f62cc118
commit 21eb3c502e
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ function dayClick(date, allDay, jsEvent, view){
//remove the +show button if it exists.
if(addShow.length == 1){
var span = $(addShow).parent();
$(span).prev().remove();
$(span).next().remove();
$(span).remove();
}