mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
more flagged posts shenanigans
This commit is contained in:
@@ -195,6 +195,9 @@ $(document).ready(function() {
|
||||
ajaxify.loadScript = function(tpl_url, callback) {
|
||||
var location = !app.inAdmin ? 'forum/' : '';
|
||||
|
||||
if (tpl_url.startsWith('admin')) {
|
||||
location = '';
|
||||
}
|
||||
var data = {
|
||||
tpl_url: tpl_url,
|
||||
scripts: [location + tpl_url]
|
||||
|
||||
Reference in New Issue
Block a user