From aae393ebe13b3a3a4a53c22143f71416fea3180b Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 28 Oct 2015 15:06:19 -0400 Subject: [PATCH] closes #3794 --- public/src/client/topic.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/src/client/topic.js b/public/src/client/topic.js index faaaddbf00..c216943e32 100644 --- a/public/src/client/topic.js +++ b/public/src/client/topic.js @@ -18,6 +18,11 @@ define('forum/topic', [ currentUrl = ''; $(window).on('action:ajaxify.start', function(ev, data) { + if (Topic.replaceURLTimeout) { + clearTimeout(Topic.replaceURLTimeout); + Topic.replaceURLTimeout = 0; + } + if (ajaxify.currentPage !== data.url) { navigator.disable(); components.get('navbar/title').find('span').text('').hide();