-
Notifications
You must be signed in to change notification settings - Fork 236
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
Fix for broken animations with FF31 update #159
Conversation
This isn't a fix. It just removes the feature and could have bad side effects to other properties... |
Try to implement something like #154 (comment) |
Changed fix according to #154 (comment). I haven't tested it yet. |
@@ -41,6 +41,9 @@ | |||
} | |||
var index = 1 + name.substr(1).search(/[A-Z]/); | |||
var prefix = name.substr(0, index).toLowerCase(); | |||
if(prefix === '') { | |||
return name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This need to be:
return name.toLowerCase();
@@ -14,7 +14,7 @@ | |||
*/ | |||
var pfx = (function () { | |||
var style = document.createElement('dummy').style, | |||
prefixes = 'Webkit Moz O ms Khtml'.split(' '), | |||
prefixes = ['webkit', 'moz', 'o', 'ms', 'khtml', ''], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each entry need to start with an upper case letter...
Only noticed this thread after creating a pull request of my own. You're welcome to throw mine away. Cheers :) |
Fix for broken animations with FF31 update fixes #162
Thanks |
See issue #154