visiblity should be visibility. lern 2 spel kthx
This commit is contained in:
parent
eb9157b7f4
commit
20b3ea6acd
1 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ WebGUI.Admin.getRealHeight
|
|||
if (elem.style.display == 'none') {
|
||||
clipped = true;
|
||||
D.setStyle(elem, 'position', 'absolute');
|
||||
D.setStyle(elem, 'visiblity', 'hidden');
|
||||
D.setStyle(elem, 'visibility', 'hidden');
|
||||
D.setStyle(elem, 'display', 'block');
|
||||
}
|
||||
var height = elem.offsetHeight;
|
||||
|
|
@ -94,7 +94,7 @@ WebGUI.Admin.getRealHeight
|
|||
}
|
||||
if (clipped) {
|
||||
D.setStyle(elem, 'display', 'none');
|
||||
D.setStyle(elem, 'visiblity', _vis);
|
||||
D.setStyle(elem, 'visibility', _vis);
|
||||
D.setStyle(elem, 'position', _pos);
|
||||
}
|
||||
//Strip the px from the style
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue