disable clicks on profile icon when loading

This commit is contained in:
g-harel 2021-02-15 19:07:37 -06:00
parent 7a3c7a3ec8
commit 3c019480db

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");
}
}