Merge pull request #1892 from thelounge/astorije/fix-slideout
Fix slideout not closing on mobile when hitting a footer icon
This commit is contained in:
commit
7d49730bad
@ -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