FIX: don't display cloak on admin tool when the right wrench is clicked (#8641)

This commit is contained in:
Krzysztof Kotlarek 2019-12-31 15:16:24 +11:00 committed by GitHub
parent 412e1ebbe2
commit fd8b98a55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -74,9 +74,8 @@ createWidget("topic-admin-menu-button", {
this.state.expanded = false;
this.state.position = null;
if (this.site.mobileView) {
$("#topic-progress-wrapper").css("z-index", "");
$(".header-cloak").hide();
if (this.site.mobileView && !this.attrs.rightSide) {
$(".header-cloak").css("display", "");
}
},
@ -104,9 +103,8 @@ createWidget("topic-admin-menu-button", {
position.left += $button.width() - 203;
}
if (this.site.mobileView) {
$("#topic-progress-wrapper").css("z-index", "auto");
$(".header-cloak").show();
if (this.site.mobileView && !this.attrs.rightSide) {
$(".header-cloak").css("display", "block");
}
this.state.position = position;