Commit c01c337c authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove hard-coded offset of popup menu.

Instead of relying on offset values, align the top-right of the menu
with bottom-right of the Docs app title.

Fixes #516
parent c3b585c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            }
        }