More stylistic fixes

This commit is contained in:
James Kiesel 2017-03-24 09:54:53 +13:00
parent 569785c555
commit 9f969b402e

View File

@ -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() {