From 47df9936768e093e30ed38001fa8104fd57aeec9 Mon Sep 17 00:00:00 2001 From: Alib Date: Fri, 19 Mar 2010 20:18:42 +0100 Subject: corrected error status showing --- js/istreamdev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/istreamdev.js b/js/istreamdev.js index 5761dbb..8dc2024 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -478,7 +478,7 @@ function playvideo(session,name) { var thumbwidth = $('#streaming span[rel="thumbwidth"]').text(); var thumbheight = $('#streaming span[rel="thumbheight"]').text(); $('#streaming ul[class="streamstatus"]').find('span[class="mode"]').html(message); - if ( status == "ready" ) { + if ( status == "ready" || status == "error" ) { $('#player').html(''); return false; } -- cgit v1.2.3