From b79c0f43fef81f06effd596141d7dd10104fef77 Mon Sep 17 00:00:00 2001 From: Cox Chen Date: Thu, 4 Apr 2013 21:16:15 +0800 Subject: [PATCH] Build dist/ratchet.js --- dist/ratchet.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/ratchet.js b/dist/ratchet.js index d4848e5..c995983 100644 --- a/dist/ratchet.js +++ b/dist/ratchet.js @@ -551,10 +551,8 @@ activeBodies = targetBody.parentNode.querySelectorAll(classSelector); - if (activeBodies) { - for (var i = 0; i < activeBodies.length; i++){ - activeBodies[i].classList.remove(className); - } + for (var i = 0; i < activeBodies.length; i++){ + activeBodies[i].classList.remove(className); } targetBody.classList.add(className);