From 9007892e835c985dc1602a2913e37fa24ec3414b Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 30 Nov 2018 18:09:47 +0100 Subject: [PATCH] Update PinDMs.plugin.js --- Plugins/PinDMs/PinDMs.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/PinDMs/PinDMs.plugin.js b/Plugins/PinDMs/PinDMs.plugin.js index 054abaf171..6cb7bdbbd6 100644 --- a/Plugins/PinDMs/PinDMs.plugin.js +++ b/Plugins/PinDMs/PinDMs.plugin.js @@ -72,7 +72,7 @@ class PinDMs { let dmsscroller = document.querySelector(BDFDB.dotCNS.dmchannels + BDFDB.dotCN.scroller); if (dmsscroller) { this.oldSrollerPos = dmsscroller.scrollTop; - setImmediate(() => {this.oldSrollerPos = null;}); + setTimeout(() => {this.oldSrollerPos = null;},1000); } } })