{"action":"opened","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/4871","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/4871/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/4871/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/4871/events","html_url":"https://github.com/TryGhost/Ghost/issues/4871","id":56065335,"number":4871,"title":"Mobile navigation does not close when going form mobile to desktop sized viewport","user":{"login":"PaulAdamDavis","id":390392,"avatar_url":"https://avatars.githubusercontent.com/u/390392?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulAdamDavis","html_url":"https://github.com/PaulAdamDavis","followers_url":"https://api.github.com/users/PaulAdamDavis/followers","following_url":"https://api.github.com/users/PaulAdamDavis/following{/other_user}","gists_url":"https://api.github.com/users/PaulAdamDavis/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulAdamDavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulAdamDavis/subscriptions","organizations_url":"https://api.github.com/users/PaulAdamDavis/orgs","repos_url":"https://api.github.com/users/PaulAdamDavis/repos","events_url":"https://api.github.com/users/PaulAdamDavis/events{/privacy}","received_events_url":"https://api.github.com/users/PaulAdamDavis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/bug","name":"bug","color":"EB2C00"},{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/ember","name":"ember","color":"e1563f"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-30T18:08:58Z","updated_at":"2015-01-30T18:08:58Z","closed_at":null,"body":"When resizing the browser from a mobile sized width to desktop with the mobile navigation open, the navigation should close. Right now, it doesn't. The class `global-nav-expanded` on `<body>` is not removed when resizing. It works correctly when clicking to close though.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Resize your browser down to 900px or less\r\n2. Open the navigation\r\n3. Resize to more than 900px\r\n4. See error in the console and broken layout\r\n\r\n### Technical details:\r\n\r\n* Ghost Version: 43f2be4d798d57d0e9170f142cd15e4d2799ec1c (also present in 0.5.8)\r\n* Client OS: Mac OS X 10.10.1\r\n* Browser: Chrome 40\r\n\r\n![bug](https://cloud.githubusercontent.com/assets/390392/5980657/abb55f06-a8aa-11e4-950f-25128bfbf0d8.gif)"}}