Skip to content

Commit

Permalink
Update Source/Fx/Fx.Elements.CSS3.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfedr committed Nov 7, 2011
1 parent 1ce4610 commit 42df210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Fx/Fx.Elements.CSS3.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ provides: [Fx.Elements.CSS3]
},

_complete: function() {
if(this.count-- == 0) {
if(--this.count == 0) {
this.fireEvent('complete', this.subject);
if (!this.callChain()) this.fireEvent('chainComplete', this.subject);
}
},

_cancel: function() {
if(this.count-- == 0) {
if(--this.count == 0) {
this.fireEvent('cancel', this.subject);
this.clearChain();
}
Expand Down

0 comments on commit 42df210

Please sign in to comment.