mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
fixed widget expanding bug.
This commit is contained in:
@@ -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();
|
||||
},
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user