From 8438371eafcbcf7e17e445ff5b47ff69e5c3420c Mon Sep 17 00:00:00 2001 From: "Fabio M. Costa" Date: Wed, 7 Apr 2010 09:02:26 -0300 Subject: [PATCH] fixes #735. Problem is that when you do this.style['zIndex'] it gets 0 incorrectly. --- Source/Element/Element.Style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Element/Element.Style.js b/Source/Element/Element.Style.js index 38ac578b8..93204d3e9 100644 --- a/Source/Element/Element.Style.js +++ b/Source/Element/Element.Style.js @@ -84,7 +84,7 @@ Element.implement({ } property = property.camelCase(); var result = this.style[property]; - if (!$chk(result)){ + if (!$chk(result) || property == 'zIndex'){ result = []; for (var style in Element.ShortStyles){ if (property != style) continue;