mirror of
https://github.com/discourse/discourse.git
synced 2025-03-12 10:55:20 +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.expanded = false;
|
||||||
this.state.position = null;
|
this.state.position = null;
|
||||||
|
|
||||||
if (this.site.mobileView) {
|
if (this.site.mobileView && !this.attrs.rightSide) {
|
||||||
$("#topic-progress-wrapper").css("z-index", "");
|
$(".header-cloak").css("display", "");
|
||||||
$(".header-cloak").hide();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -104,9 +103,8 @@ createWidget("topic-admin-menu-button", {
|
|||||||
position.left += $button.width() - 203;
|
position.left += $button.width() - 203;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.site.mobileView) {
|
if (this.site.mobileView && !this.attrs.rightSide) {
|
||||||
$("#topic-progress-wrapper").css("z-index", "auto");
|
$(".header-cloak").css("display", "block");
|
||||||
$(".header-cloak").show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.state.position = position;
|
this.state.position = position;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user