From 21eb3c502e12ba3fb6e92e754eab80a1cfd7d1b2 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Fri, 28 Aug 2015 20:08:52 -0400 Subject: [PATCH] Fixed New Show button sliding when you clicked on the calendar --- .../public/js/airtime/schedule/full-calendar-functions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js index 62e0f4f0f..12c993332 100644 --- a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js +++ b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js @@ -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(); }