diff --git a/app/assets/javascripts/discourse/widgets/menu-panel.js.es6 b/app/assets/javascripts/discourse/widgets/menu-panel.js.es6 index 058b64607b5..bca0c606b0c 100644 --- a/app/assets/javascripts/discourse/widgets/menu-panel.js.es6 +++ b/app/assets/javascripts/discourse/widgets/menu-panel.js.es6 @@ -3,6 +3,12 @@ import { createWidget } from 'discourse/widgets/widget'; import { h } from 'virtual-dom'; createWidget('menu-links', { + buildClasses(attrs) { + if (attrs.name && attrs.name.length) { + return `menu-container-${attrs.name}`; + } + }, + html(attrs) { const links = [].concat(attrs.contents()); const liOpts = {};