Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

TypeError: oldToggle is undefined #4

tborychowski opened this Issue Dec 17, 2012 · 5 comments


None yet
2 participants

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 commented Dec 17, 2012

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

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 Dec 17, 2012


dmethvin commented Dec 17, 2012

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.

works perfectly! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment