Skip to content

Commit

Permalink
Remove premature callback execution
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelage committed Oct 13, 2014
1 parent 5096547 commit ab358dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/transitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
}

container.parentNode.insertBefore(swap, container);
complete && complete();

if (transition === 'fade') {
container.offsetWidth; // force reflow
Expand Down

0 comments on commit ab358dc

Please sign in to comment.