diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index bae075916..df490233f 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -9432,7 +9432,7 @@ if (Conf['Updater and Stats in Header']) { Header.rmShortcut(this.dialog); } else { - $.rm(d.body, sc); + $.rm(this.dialog); } clearTimeout(this.timeout); delete this.timeout; diff --git a/builds/crx/script.js b/builds/crx/script.js index ff6803729..b0be6374c 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -9447,7 +9447,7 @@ if (Conf['Updater and Stats in Header']) { Header.rmShortcut(this.dialog); } else { - $.rm(d.body, sc); + $.rm(this.dialog); } clearTimeout(this.timeout); delete this.timeout; diff --git a/src/Monitoring/ThreadStats.coffee b/src/Monitoring/ThreadStats.coffee index ad3d869d1..88a4d1940 100755 --- a/src/Monitoring/ThreadStats.coffee +++ b/src/Monitoring/ThreadStats.coffee @@ -40,7 +40,7 @@ ThreadStats = if Conf['Updater and Stats in Header'] Header.rmShortcut @dialog else - $.rm d.body, sc + $.rm @dialog clearTimeout @timeout # a possible race condition might be that this won't clear in time, but the resulting error will prevent issues anyways.