Merge pull request #974 from g-harel/missing

Disable clicks on profile icon during loading.
This commit is contained in:
Jack 2021-02-16 18:51:15 +00:00 committed by GitHub
commit 13a8f72332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3686,10 +3686,10 @@ function accountIconLoading(truefalse) {
$("#top #menu .account .icon").html(
'<i class="fas fa-fw fa-spin fa-circle-notch"></i>'
);
$("#top #menu .account").css("opacity", 1);
$("#top #menu .account").css("opacity", 1).css("pointer-events", "none");
} else {
$("#top #menu .account .icon").html('<i class="fas fa-fw fa-user"></i>');
$("#top #menu .account").css("opacity", 1);
$("#top #menu .account").css("opacity", 1).css("pointer-events", "auto");
}
}