commit 5e9e1366e806d10f7534886b4f6911e5bdc56b35
parent 20e625262d7f8ad2c68bfbe9858316731db14eca
Author: Jason Campbell <jason@borderstylo.com>
Date: Fri, 14 Jan 2011 12:38:33 -0800
margin-top
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/windex.js b/windex.js
@@ -453,7 +453,8 @@ WindexNodes.prototype._cssSet = function (name, value) {
var translations = {
"z-index": "zIndex",
"overflow-y": "overflowY",
- "overflow-x": "overflowX"
+ "overflow-x": "overflowX",
+ "margin-top": "marginTop"
};
if (translations[name]) { name = translations[name]; }
this.forEach(function (node) { node.style[name] = value; });