mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 16:27:22 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue