Fix user list hidden with small height

This commit is contained in:
yflory committed 2019-04-02 14:19:00 +02:00
1 parent d0c7d4cfb8
commit 41d37d4c91
1 file changed
+1 -1
+1 -1
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();