diff --git a/js/push.js b/js/push.js index 6f306b3..ff79b47 100644 --- a/js/push.js +++ b/js/push.js @@ -170,7 +170,7 @@ TRANSITION(activeDom.cloneNode(true), transitionFromObj.transition, function() { - triggerStateChange(); + triggerStateChange(); }); PUSH.id = id; diff --git a/js/transitions.js b/js/transitions.js index 0a3f2f6..9d70029 100644 --- a/js/transitions.js +++ b/js/transitions.js @@ -24,7 +24,7 @@ // * add new bar elements when an existing one isn't present // * remove any bar elements not found in `newMarkup` var updateBars = function (newMarkup) { - for (var i=0; i < barSelectors.length; i++ ) { + for (var i = 0; i < barSelectors.length; i++) { var selector = barSelectors[i]; var newBar = newMarkup.querySelector(selector); var existingBar = document.querySelector(selector);