Merge pull request #1653 from AgtLucas/master

Fix typo?
This commit is contained in:
Hannah Wolfe 2013-12-20 07:24:37 -08:00
commit 52ab9fc93d

View File

@ -64,20 +64,20 @@
}
// check the vendor transition duration properties
if (this.css('-webkit-transtion-duration')) {
return Math.round(parseFloat(this.css('-webkit-transtion-duration')) * 1000);
if (this.css('-webkit-transition-duration')) {
return Math.round(parseFloat(this.css('-webkit-transition-duration')) * 1000);
}
if (this.css('-ms-transtion-duration')) {
return Math.round(parseFloat(this.css('-ms-transtion-duration')) * 1000);
if (this.css('-ms-transition-duration')) {
return Math.round(parseFloat(this.css('-ms-transition-duration')) * 1000);
}
if (this.css('-moz-transtion-duration')) {
return Math.round(parseFloat(this.css('-moz-transtion-duration')) * 1000);
if (this.css('-moz-transition-duration')) {
return Math.round(parseFloat(this.css('-moz-transition-duration')) * 1000);
}
if (this.css('-o-transtion-duration')) {
return Math.round(parseFloat(this.css('-o-transtion-duration')) * 1000);
if (this.css('-o-transition-duration')) {
return Math.round(parseFloat(this.css('-o-transition-duration')) * 1000);
}
// if we're here, then no transition duration was found, return 0