mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
fixed ACP from previous commit
This commit is contained in:
@@ -145,7 +145,9 @@ $(document).ready(function() {
|
||||
};
|
||||
|
||||
ajaxify.loadScript = function(tpl_url, callback) {
|
||||
require(['forum/' + tpl_url], function(script) {
|
||||
var location = !app.inAdmin ? 'forum/' : '';
|
||||
|
||||
require([location + tpl_url], function(script) {
|
||||
if (script && script.init) {
|
||||
script.init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user