Commit 1a4d1904 authored by Yehuda Katz's avatar Yehuda Katz

Fix up whitespace and a couple of glitches.

parent b3cee018
...@@ -170,13 +170,6 @@ jQuery.each({ ...@@ -170,13 +170,6 @@ jQuery.each({
}, },
toggleClass: function( classNames, state ) { toggleClass: function( classNames, state ) {
if( jQuery.isFunction(classNames) ) {
return this.each(function() {
console.log(this);
jQuery(this).toggleClass( classNames.call(this), state );
});
}
var type = typeof classNames; var type = typeof classNames;
if ( type === "string" ) { if ( type === "string" ) {
// toggle individual class names // toggle individual class names
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment