mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
commit
52ab9fc93d
1 changed files with 8 additions and 8 deletions
16
core/client/assets/lib/jquery-utils.js
vendored
16
core/client/assets/lib/jquery-utils.js
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue