From b5a8db6720a9f49f84d746a6eb8bd664ccbbf40e Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Fri, 30 Mar 2012 18:15:27 +0200 Subject: [PATCH] CC-3174 : timeline --- airtime_mvc/public/js/airtime/showbuilder/builder.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/airtime_mvc/public/js/airtime/showbuilder/builder.js b/airtime_mvc/public/js/airtime/showbuilder/builder.js index 9995d381b..c4407e06b 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/builder.js @@ -420,8 +420,7 @@ var AIRTIME = (function(AIRTIME){ //order of importance of elements for setting the next timeout. elements = [ $sbTable.find("tr.sb-now-playing"), - $sbTable.find("tbody tr.sb-future.sb-footer:first"), - $sbTable.find("tbody tr.sb-future.sb-header:first") + $sbTable.find("tbody").find("tr.sb-future.sb-footer, tr.sb-future.sb-header").filter(":first") ]; //check which element we should set a timeout relative to.