don't show the sidebar by default on mobile

This commit is contained in:
Quinn Rohlf
2014-04-04 16:44:25 -07:00
parent 0c7e2b3557
commit 0bc288fe96
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -31,8 +31,10 @@ define([
toggleSidebar();
});
// Init last state if not mobile and not homepage
toggleSidebar(platform.isMobile ? false : storage.get("sidebar", true), false);
// Init last state if not mobile
if (!platform.isMobile) {
toggleSidebar(storage.get("sidebar", true), false);
}
};
return {