mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
Resolve merge conflicts
This commit is contained in:
@@ -67,9 +67,7 @@ $(document).ready(function () {
|
||||
apiXHR.abort();
|
||||
}
|
||||
|
||||
if (!window.location.pathname.match(/\/(403|404)$/g)) {
|
||||
app.previousUrl = window.location.href;
|
||||
}
|
||||
app.previousUrl = window.location.href;
|
||||
|
||||
url = ajaxify.start(url);
|
||||
|
||||
@@ -95,10 +93,7 @@ $(document).ready(function () {
|
||||
retry = true;
|
||||
app.template = data.template.name;
|
||||
|
||||
require(['translator'], function (translator) {
|
||||
translator.load(translator.getLanguage(), data.template.name);
|
||||
renderTemplate(url, data.template.name, data, callback);
|
||||
});
|
||||
renderTemplate(url, data.template.name, data, callback);
|
||||
});
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user