diff -r 706f10bcdc3c -r f5690d918358 cms/app-client/app/components/player-component.js --- a/cms/app-client/app/components/player-component.js Sun Oct 02 19:11:06 2016 +0200 +++ b/cms/app-client/app/components/player-component.js Sun Oct 02 19:14:07 2016 +0200 @@ -75,16 +75,16 @@ text.css('text-indent', '0px'); if(text.width() > jElement.width()) { var duration = ( ( text.width() - jElement.width() ) * 8 / 100 ) * 1000; - function animate() { + var animate = function() { text.delay(4000) .animate({ 'text-indent': -( text.width() - jElement.width() ) + 'px' }, duration, 'linear', function() { text.stop(true); - text.css('text-indent', '0px') - window.setTimeout(function() { animate() }, 1); + text.css('text-indent', '0px'); + window.setTimeout(function() { animate(); }, 1); }); - } + }; animate(); } },