Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

woops - hasClass was lying. Thanks @maggiewachs

  • Loading branch information...
commit 331e0ab2d5ca3cff8bc62312aee9b6fa26e76822 1 parent 7a06caf
scottjehl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enhance.js
View
2  enhance.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.