Skip to content

Commit

Permalink
Merge pull request #1 from rickogden/master
Browse files Browse the repository at this point in the history
Fixed: Widget Expanding on Repeated Clicking
  • Loading branch information
systemed committed Jul 23, 2012
2 parents 3744ca6 + 4a679b7 commit 263988a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/iD/ui/StepPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,13 @@ 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();
},
hide:function() {
// summary: Hide the window.
dijit.byId(this.divname).hide();
},
}

});

Expand Down

0 comments on commit 263988a

Please sign in to comment.