diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 68aea26b5..3fd259f8b 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -248,10 +248,7 @@ function setAddShowEvents() { event.stopPropagation(); event.preventDefault(); - var y = $("#schedule_calendar").width(); - var z = $("#schedule-add-show").width(); - - $("#schedule_calendar").width(y+z+50) + $("#schedule_calendar").removeAttr("style") .fullCalendar('render'); $("#add-show-form").hide(); 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 cdcad012c..f2bb5f345 100644 --- a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js +++ b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js @@ -13,9 +13,7 @@ function openAddShowForm() { if($("#add-show-form").length == 1) { if( ($("#add-show-form").css('display')=='none')) { $("#add-show-form").show(); - var y = $("#schedule_calendar").width(); - var z = $("#schedule-add-show").width(); - $("#schedule_calendar").width(y-z-50); + $("#schedule_calendar").css("width", "70%"); $("#schedule_calendar").fullCalendar('render'); } $("#schedule-show-what").show(0, function(){