Browse Source

Consistency fixes

pull/126/head
Viljami S 12 years ago
parent
commit
c2eb1f5a1f
  1. 8
      responsiveslides.js

8
responsiveslides.js

@ -69,16 +69,16 @@
supportsTransitions = (function () {
var b = document.body || document.documentElement;
var s = b.style;
var p = 'transition';
if (typeof s[p] === 'string') {
var p = "transition";
if (typeof s[p] === "string") {
return true;
}
// Tests for vendor specific prop
v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'];
v = ["Moz", "Webkit", "Khtml", "O", "ms"];
p = p.charAt(0).toUpperCase() + p.substr(1);
var i;
for (i = 0; i < v.length; i++) {
if (typeof s[v[i] + p] === 'string') {
if (typeof s[v[i] + p] === "string") {
return true;
}
}

Loading…
Cancel
Save