app/assets/javascripts/pwn-fx.js.coffee in pwnstyles_rails-0.2.5 vs app/assets/javascripts/pwn-fx.js.coffee in pwnstyles_rails-0.2.6

- old
+ new

@@ -338,10 +338,10 @@ matching = false break hideSelector = if matching then failSelector else winSelector showSelector = if matching then winSelector else failSelector - for targetElement in PwnFx.queryScope(scope, winSelector) + for targetElement in PwnFx.queryScope(scope, showSelector) targetElement.classList.remove hiddenClass for targetElement in PwnFx.queryScope(scope, hideSelector) targetElement.classList.add hiddenClass true onChange()