fixed widget expanding bug.

This commit is contained in:
Rick Ogden
2012-07-23 14:58:35 +01:00
parent 3744ca602d
commit bbd5b44aab

View File

@@ -87,12 +87,15 @@ declare("iD.ui.StepPane", null, {
show:function() {
// summary: Show the window.
dijit.byId(this.divname).show();
if(dijit.byId(this.divname).domNode.style.visibility == 'hidden')
dijit.byId(this.divname).show();
console.log(dijit.byId(this.divname));
},
hide:function() {
// summary: Hide the window.
dijit.byId(this.divname).hide();
},
}
});