Skip to content

Commit

Permalink
Remove hard-coded offset of popup menu.
Browse files Browse the repository at this point in the history
Instead of relying on offset values, align the top-right of the menu
with bottom-right of the Docs app title.

Fixes #516
  • Loading branch information
nene committed Dec 23, 2013
1 parent c3b585c commit c01c337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/app/view/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Ext.define('Docs.view.Header', {
afterrender: function(cmp) {
if (this.menu) {
cmp.el.addListener('click', function(cmp, el) {
this.menu.showBy(this.el, 'bl', [120, 0]);
this.menu.showBy(this.el, 'tr-br?');
}, this);
}
}
Expand Down

0 comments on commit c01c337

Please sign in to comment.