aboutsummaryrefslogtreecommitdiffstats
path: root/src/css.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.js')
-rw-r--r--src/css.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/css.js b/src/css.js
index 99d578873..6f5456315 100644
--- a/src/css.js
+++ b/src/css.js
@@ -116,10 +116,6 @@ jQuery.fn.extend({
toggle: function( state, fn2 ) {
var bool = typeof state === "boolean";
- if ( jQuery.isFunction( state ) && jQuery.isFunction( fn2 ) ) {
- return eventsToggle.apply( this, arguments );
- }
-
return this.each(function() {
if ( bool ? state : isHidden( this ) ) {
jQuery( this ).show();