Commit 2ae51751 authored by miripiruni's avatar miripiruni

Shower::_applyTransform: refactoring for transform, forEach instead of copy/paste

parent cbcb7e91
...@@ -242,7 +242,7 @@ window.shower = window.shower || (function(window, document, undefined) { ...@@ -242,7 +242,7 @@ window.shower = window.shower || (function(window, document, undefined) {
'MozTransform', 'MozTransform',
'msTransform', 'msTransform',
'OTransform', 'OTransform',
'transform', 'transform'
].forEach(function(prop) { ].forEach(function(prop) {
body.style[prop] = transform; body.style[prop] = transform;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment