diff --git a/airtime_mvc/public/js/airtime/showbuilder/builder.js b/airtime_mvc/public/js/airtime/showbuilder/builder.js index 9526cd9f3..1f0c3e243 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/builder.js @@ -41,10 +41,12 @@ var AIRTIME = (function(AIRTIME){ mod.updateCalendarStatusIcon = function(json) { - if (window.location.pathname.toLowerCase() != "/schedule") { + + if (window.location.pathname.toLowerCase() != baseUrl+"/schedule") { return; } + var instance_id = json.schedule[0].instance; var lastElem = json.schedule[json.schedule.length-1];