mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
ie11 doesnt support Object.values (#7993)
This commit is contained in:
committed by
Barış Soner Uşaklı
parent
cf7e0cfd2d
commit
beea56b3c6
@@ -143,7 +143,9 @@ app.cacheBuster = null;
|
||||
return translator.Translator.create().translate(render);
|
||||
});
|
||||
})).then(function (html) {
|
||||
Object.values(toRender).forEach(function (element, idx) {
|
||||
Object.keys(toRender)
|
||||
.map(function(k) { return toRender[k]; })
|
||||
.forEach(function (element, idx) {
|
||||
element.html(html[idx]);
|
||||
});
|
||||
Unread.initUnreadTopics();
|
||||
|
||||
Reference in New Issue
Block a user