Skip to content
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

jQuery Transit doesn't work with jQuery 1.8.2 #81

Closed
wants to merge 1 commit into from

Conversation

emersion
Copy link

$(elem).css('transform') now returns 'none' instead of null

@yvesvanbroekhoven
Copy link

Thanks, worked for me!

@miketaylr
Copy link

+1, this would fix #82 as well.

@@ -603,12 +606,12 @@

$.cssHooks[prop] = {
get: function(elem) {
var t = $(elem).css('transform') || new Transform();
var t = ($(elem).css('transform') && $(elem).css('transform') != 'none') ? $(elem).css('transform') : new Transform();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a good idea to "cache" a reference to $(elem).css('transform') so you don't have to call $.fn.css 2 or 3 times.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right, here's a good fix : #77

@rstacruz
Copy link
Owner

Already fixed by other contributions. Thanks!

@rstacruz rstacruz closed this Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants