v1.18.x
Andrew Rodrigues 6 years ago
parent dcdd41c7ce
commit c37b2f2ed3

@ -134,9 +134,9 @@ app.cacheBuster = null;
// Re-render top bar menu // Re-render top bar menu
var toRender = { var toRender = {
'slideout-menu': $('.slideout-menu'),
menu: $('#header-menu .container'), menu: $('#header-menu .container'),
'chats-menu': $('#chats-menu'), 'chats-menu': $('#chats-menu'),
'slideout-menu': $('.slideout-menu'),
}; };
Promise.all(Object.keys(toRender).map(function (tpl) { Promise.all(Object.keys(toRender).map(function (tpl) {
return Benchpress.render('partials/' + tpl, data.header).then(function (render) { return Benchpress.render('partials/' + tpl, data.header).then(function (render) {

Loading…
Cancel
Save