diff options
Diffstat (limited to 'src/attributes/classes.js')
-rw-r--r-- | src/attributes/classes.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/attributes/classes.js b/src/attributes/classes.js index a7b423035..8a1ac8d8c 100644 --- a/src/attributes/classes.js +++ b/src/attributes/classes.js @@ -1,9 +1,8 @@ define([ "../core", "../var/rnotwhite", - "../var/strundefined", "../core/init" -], function( jQuery, rnotwhite, strundefined ) { +], function( jQuery, rnotwhite ) { var rclass = /[\t\r\n\f]/g; @@ -127,7 +126,7 @@ jQuery.fn.extend({ } // Toggle whole class name - } else if ( type === strundefined || type === "boolean" ) { + } else if ( type === "undefined" || type === "boolean" ) { if ( this.className ) { // store className if set jQuery._data( this, "__className__", this.className ); |