Browse Source

Build dist/ratchet.js

pull/173/head
Cox Chen 12 years ago
parent
commit
b79c0f43fe
  1. 6
      dist/ratchet.js

6
dist/ratchet.js vendored

@ -551,10 +551,8 @@
activeBodies = targetBody.parentNode.querySelectorAll(classSelector); activeBodies = targetBody.parentNode.querySelectorAll(classSelector);
if (activeBodies) { for (var i = 0; i < activeBodies.length; i++){
for (var i = 0; i < activeBodies.length; i++){ activeBodies[i].classList.remove(className);
activeBodies[i].classList.remove(className);
}
} }
targetBody.classList.add(className); targetBody.classList.add(className);

Loading…
Cancel
Save