mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
loading: Remove dead data-spinner_obj access.
As of commit 7b00bd6f7e, this no longer
exists.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
518daff9db
commit
c97f6c6c71
@@ -74,12 +74,6 @@ export function destroy_indicator($container: JQuery): void {
|
||||
return;
|
||||
}
|
||||
$container.data("destroying", true);
|
||||
|
||||
const spinner = $container.data("spinner_obj");
|
||||
if (spinner !== undefined) {
|
||||
spinner.stop();
|
||||
}
|
||||
$container.removeData("spinner_obj");
|
||||
$container.empty();
|
||||
$container.css({width: 0, height: 0});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user