-
Notifications
You must be signed in to change notification settings - Fork 20.6k
.css('marginRight') - memory leak #1795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Comment author: flexphperia
Here's direct link to jsFiddle : http://fiddle.jshell.net/z3jo9k1q/ Is there any chances to fix this bugi in next release? It's quite important. |
Pretty clearly a leak since |
Originally reported by flexphperia at: http://bugs.jquery.com/ticket/15235
I have found memory leak in reliableMarginRight function.
Memory leak is created when you call $element.css('marginRight')
JsFiddle: http://fiddle.jshell.net/z3jo9k1q/show/light/
Test case:
Fix: Adding this, after 5665 line in jQuery uncompressed code will fix the problem:
Issue reported for jQuery 2.1.1
The text was updated successfully, but these errors were encountered: