diff --git a/src/utils/textEffect.js b/src/utils/textEffect.js index 651f468..e47f9eb 100644 --- a/src/utils/textEffect.js +++ b/src/utils/textEffect.js @@ -37,9 +37,9 @@ export function rollText(node) { TweenLite.to(node, duration, {text: tmpText, ease: Linear.easeNone, overwrite: 'all', onComplete: function() { TweenLite.to(node, duration, {text: originalText, ease: Linear.easeNone, overwrite: 'all', onComplete: function() { node.style.width = '' - node.style.textAlign = '' + node.style.textAlign = "" node._isRollingText = false }}) }}) } catch(e) {} -} \ No newline at end of file +}