Fix mobile detection when hiding the userlist
This commit is contained in:
1 parent
03bcd2f00d
commit
de97c5a3ff
1 file changed
+1
-1
@@ -400,7 +400,7 @@ define([
|
||||
});
|
||||
show();
|
||||
Common.getAttribute(['toolbar', 'userlist-drawer'], function (err, val) {
|
||||
if (val === false || $(window).height() < 800) { return void hide(); }
|
||||
if (val === false || $(window).width() < 800) { return void hide(); }
|
||||
show();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user