Restarting on Friday

This commit is contained in:
Peter Cottle 2012-09-28 11:13:14 -07:00
parent efc789c11f
commit 499961f3b5

View file

@ -154,10 +154,10 @@ var VisBranch = Backbone.Model.extend({
var s = speed !== undefined ? speed : this.get('animationSpeed'); var s = speed !== undefined ? speed : this.get('animationSpeed');
var e = easing || this.get('animationEasing'); var e = easing || this.get('animationEasing');
var textPos = this.getTextPosition();
this.get('text').attr({ this.get('text').attr({
text: this.getName() text: this.getName()
}); });
var textPos = this.getTextPosition();
this.get('text').stop().animate({ this.get('text').stop().animate({
x: textPos.x, x: textPos.x,
y: textPos.y y: textPos.y