Fix user list hidden with small height

pull/1/head
yflory 6 years ago
parent d0c7d4cfb8
commit 41d37d4c91

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

Loading…
Cancel
Save