Fix mobile detection when hiding the userlist

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

@ -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();
});

Loading…
Cancel
Save