mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
resolved some todo that's been in there for many months
This commit is contained in:
@@ -78,7 +78,9 @@
|
||||
global.templates[file] = new template;
|
||||
|
||||
loaded--;
|
||||
if (loaded == 0) templates.ready();
|
||||
if (loaded === 0) {
|
||||
templates.ready();
|
||||
}
|
||||
});
|
||||
}(templatesToLoad[t]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user