visiblity should be visibility. lern 2 spel kthx

This commit is contained in:
Doug Bell 2010-08-02 16:09:12 -05:00
parent eb9157b7f4
commit 20b3ea6acd

View file

@ -83,7 +83,7 @@ WebGUI.Admin.getRealHeight
if (elem.style.display == 'none') { if (elem.style.display == 'none') {
clipped = true; clipped = true;
D.setStyle(elem, 'position', 'absolute'); D.setStyle(elem, 'position', 'absolute');
D.setStyle(elem, 'visiblity', 'hidden'); D.setStyle(elem, 'visibility', 'hidden');
D.setStyle(elem, 'display', 'block'); D.setStyle(elem, 'display', 'block');
} }
var height = elem.offsetHeight; var height = elem.offsetHeight;
@ -94,7 +94,7 @@ WebGUI.Admin.getRealHeight
} }
if (clipped) { if (clipped) {
D.setStyle(elem, 'display', 'none'); D.setStyle(elem, 'display', 'none');
D.setStyle(elem, 'visiblity', _vis); D.setStyle(elem, 'visibility', _vis);
D.setStyle(elem, 'position', _pos); D.setStyle(elem, 'position', _pos);
} }
//Strip the px from the style //Strip the px from the style