mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
commit
52ab9fc93d
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 New Issue
Block a user