diff -r ff6cf3fc5f40 -r 3fccf43160a7 cms/app-client/app/components/player-component.js --- a/cms/app-client/app/components/player-component.js Wed Sep 28 15:58:18 2016 +0200 +++ b/cms/app-client/app/components/player-component.js Wed Sep 28 17:24:02 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(); } },