Skip to content

Commit

Permalink
reposition window on resize
Browse files Browse the repository at this point in the history
  • Loading branch information
hofmeister committed Feb 21, 2014
1 parent 37fafee commit 7116db6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/lib/widget.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3771,6 +3771,8 @@ $wb.ui.Window = $wb.Class('Window',
this.target().css('height', 'auto'); this.target().css('height', 'auto');
} }
}); });

this.bind('resize', doPosition);
this.bind('after-layout', doPosition); this.bind('after-layout', doPosition);
this.bind('show', doPosition); this.bind('show', doPosition);
this.bind('render', function () { this.bind('render', function () {
Expand Down

0 comments on commit 7116db6

Please sign in to comment.