mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
use removeRelativePath in app.js too
This commit is contained in:
@@ -516,9 +516,7 @@ var socket,
|
||||
tpl_url = ajaxify.getTemplateMapping(url),
|
||||
$window = $(window);
|
||||
|
||||
if (url.indexOf(RELATIVE_PATH.slice(1)) !== -1) {
|
||||
url = url.slice(RELATIVE_PATH.length);
|
||||
}
|
||||
url = ajaxify.removeRelativePath(url);
|
||||
|
||||
ajaxify.widgets.render(tpl_url, url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user