mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
More stylistic fixes
This commit is contained in:
@@ -214,7 +214,7 @@ export default createWidget('header', {
|
||||
panels.push(this.attach('user-menu'));
|
||||
}
|
||||
|
||||
this.additionalPanels(attrs, state).map(function(panel) { panels.push(panel) });
|
||||
this.additionalPanels(attrs, state).map(function(panel) { panels.push(panel); });
|
||||
|
||||
const contents = [ this.attach('home-logo', { minimized: !!attrs.topic }),
|
||||
h('div.panel.clearfix', panels) ];
|
||||
@@ -227,8 +227,8 @@ export default createWidget('header', {
|
||||
},
|
||||
|
||||
// override to allow plugins to append additional panels
|
||||
additionalPanels(attrs, state) {
|
||||
return []
|
||||
additionalPanels() {
|
||||
return [];
|
||||
},
|
||||
|
||||
updateHighlight() {
|
||||
|
||||
Reference in New Issue
Block a user