Fix user list hidden with small height

This commit is contained in:
yflory 2019-04-02 14:19:00 +02:00
parent d0c7d4cfb8
commit 41d37d4c91
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ MessengerUI, Messages) {
});
show();
Common.getAttribute(['toolbar', 'userlist-drawer'], function (err, val) {
if (val === false || Util.isSmallScreen()) {
if (val === false || window.innerWidth < 800) {
return void hide();
}
show();