Fix mobile detection when hiding the userlist

pull/1/head
yflory 7 years ago
parent 03bcd2f00d
commit de97c5a3ff

@ -400,7 +400,7 @@ define([
}); });
show(); show();
Common.getAttribute(['toolbar', 'userlist-drawer'], function (err, val) { 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(); show();
}); });

Loading…
Cancel
Save