mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
finally found reliable repro steps and squashed you like the bug you are. fixed #1280
This commit is contained in:
@@ -571,6 +571,13 @@ var socket,
|
|||||||
|
|
||||||
ajaxify.widgets.render(tpl_url, url);
|
ajaxify.widgets.render(tpl_url, url);
|
||||||
|
|
||||||
|
if (window.history && window.history.replaceState) {
|
||||||
|
var hash = window.location.hash ? window.location.hash : '';
|
||||||
|
window.history.replaceState({
|
||||||
|
url: url + hash
|
||||||
|
}, url, RELATIVE_PATH + '/' + url + hash);
|
||||||
|
}
|
||||||
|
|
||||||
ajaxify.loadScript(tpl_url, function() {
|
ajaxify.loadScript(tpl_url, function() {
|
||||||
$(window).trigger('action:ajaxify.end', {
|
$(window).trigger('action:ajaxify.end', {
|
||||||
url: url
|
url: url
|
||||||
|
|||||||
Reference in New Issue
Block a user