diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html index bedad43d..8a92f4f4 100644 --- a/data/interfaces/default/index.html +++ b/data/interfaces/default/index.html @@ -548,7 +548,7 @@ } // Update the progress bars, percent - 3 because of 3px padding-right - $('#buffer-bar-' + key).width(parseInt(s.transcode_progress) - 3 + '%').html(s.transcode_progress + '%') + $('#buffer-bar-' + key).css({width: parseInt(s.transcode_progress) - 3 + '%'}).html(s.transcode_progress + '%') .attr('data-original-title', 'Transcoder Progress ' + s.transcode_progress + '%'); if (s.live !== 1) { var progress_bar = $('#progress-bar-' + key); @@ -647,7 +647,7 @@ var stream_duration = parseInt($(this).data('stream_duration')); var progress_percent = Math.floor(view_offset / stream_duration * 100); progress_percent = (progress_percent >= 0) ? Math.min(progress_percent, 100) : 100; - $(this).width(progress_percent - 3 + '%').html(progress_percent + '%') + $(this).css({width: progress_percent - 3 + '%'}).html(progress_percent + '%') .attr('data-original-title', 'Stream Progress ' + progress_percent + '%') .data('view_offset', Math.min(view_offset + 1000, stream_duration)); }