Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

TypeError: oldToggle is undefined #4

Closed
tborychowski opened this Issue · 5 comments

2 participants

@tborychowski

error in line 349: return oldToggle.apply( this, arguments );

I'm using .toggle() to show/hide elements.
The code works as expected when the plugin is not present.

@dmethvin
Owner

What version of jQuery are you using it with? Can you post a test case? The readme and blog post have links to boilerplate.

@tborychowski

I'm using: jquery-1.9.0b1.min.js, and it's a simple 1 line call: $('.class').toggle(true);

@dmethvin dmethvin closed this in 70c9c29
@dmethvin
Owner

Thanks for reporting this! The work-in-progress build at http://code.jquery.com/jquery-migrate-git.js has this fix, you can use that instead of the beta.

@tborychowski

works perfectly! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.