mirror of
https://github.com/discourse/discourse.git
synced 2025-03-11 16:45:34 +08:00
FIX: don't display cloak on admin tool when the right wrench is clicked (#8641)
This commit is contained in:
parent
412e1ebbe2
commit
fd8b98a55e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user