Fix slideout not closing on mobile when hitting a footer icon
Introduced by 9691df67e3 (diff-e5178f7b74fe45f2cfe1baf9aa1ef6faR347)
.
Seriously...
This commit is contained in:
parent
7c2422ee19
commit
7f165a7593
@ -344,7 +344,7 @@ $(function() {
|
|||||||
// This is a rather gross hack to account for sources that are in the
|
// This is a rather gross hack to account for sources that are in the
|
||||||
// sidebar specifically. Needs to be done better when window management gets
|
// sidebar specifically. Needs to be done better when window management gets
|
||||||
// refactored.
|
// refactored.
|
||||||
const inSidebar = self.parents("#sidebar").length > 0;
|
const inSidebar = self.parents("#sidebar, #footer").length > 0;
|
||||||
|
|
||||||
if (inSidebar) {
|
if (inSidebar) {
|
||||||
chat.data(
|
chat.data(
|
||||||
|
Loading…
Reference in New Issue
Block a user