Permalink
Browse files

woops - hasClass was lying. Thanks @maggiewachs

  • Loading branch information...
1 parent 7a06caf commit 331e0ab2d5ca3cff8bc62312aee9b6fa26e76822 scottjehl committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 enhance.js
View
@@ -13,7 +13,7 @@
// hasClass function - check if element has a class
ejs.hasClass = function( elem, cls ){
- return elem.className.indexOf( cls ) >= -1
+ return elem.className.indexOf( cls ) > -1
}
// Callback for running logic dependent on a property being defined

0 comments on commit 331e0ab

Please sign in to comment.