From 78725f5081d6e5daf31dddbb17370edaf866bb24 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Wed, 5 Feb 2020 15:22:44 +1100 Subject: [PATCH] Revert "FIX: Topic progress bar shouldn't show up on desktop (#8854)" This reverts commit 7133fd8c8936493aec809a66401ff14e9b6ce92b. Unfortunately performCheckSize may have certain situations in topic navigation where it is unsafe to call. We need to add som more safety here prior to merging. --- .../javascripts/discourse/components/topic-navigation.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/topic-navigation.js.es6 b/app/assets/javascripts/discourse/components/topic-navigation.js.es6 index 39a602a0770..7ff9ec0a230 100644 --- a/app/assets/javascripts/discourse/components/topic-navigation.js.es6 +++ b/app/assets/javascripts/discourse/components/topic-navigation.js.es6 @@ -61,7 +61,7 @@ export default Component.extend(PanEvents, { }, _checkSize() { - debounce(this, this._performCheckSize, 300, true); + debounce(this, this._performCheckSize, 300); }, // we need to store this so topic progress has something to init with