diff --git a/airtime_mvc/public/js/airtime/showbuilder/builder.js b/airtime_mvc/public/js/airtime/showbuilder/builder.js index e3e5524eb..85b6f3d8a 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/builder.js @@ -44,7 +44,7 @@ var AIRTIME = (function(AIRTIME){ //make sure we are only executing this code on the calendar view, not //the Now Playing view. - if (window.location.pathname.toLowerCase().indexOf("schedule") >= 0) { + if (window.location.pathname.toLowerCase().indexOf("schedule") < 0) { return; }