0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fix typo?

This commit is contained in:
Lucas 2013-12-10 09:54:19 -02:00
parent 119af63ff7
commit f350bf3e0f

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