mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
closes #3794
This commit is contained in:
@@ -18,6 +18,11 @@ define('forum/topic', [
|
|||||||
currentUrl = '';
|
currentUrl = '';
|
||||||
|
|
||||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||||
|
if (Topic.replaceURLTimeout) {
|
||||||
|
clearTimeout(Topic.replaceURLTimeout);
|
||||||
|
Topic.replaceURLTimeout = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (ajaxify.currentPage !== data.url) {
|
if (ajaxify.currentPage !== data.url) {
|
||||||
navigator.disable();
|
navigator.disable();
|
||||||
components.get('navbar/title').find('span').text('').hide();
|
components.get('navbar/title').find('span').text('').hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user