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

This commit is contained in:
miripiruni 2013-05-03 21:18:15 +04:00
parent cbcb7e91c5
commit 2ae51751d8
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ window.shower = window.shower || (function(window, document, undefined) {
'MozTransform',
'msTransform',
'OTransform',
'transform',
'transform'
].forEach(function(prop) {
body.style[prop] = transform;
});