{"id":13301821,"date":"2020-08-23T23:48:45","date_gmt":"2020-08-23T23:48:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/menu-stops-working-sometimes\/"},"modified":"2020-08-23T23:48:45","modified_gmt":"2020-08-23T23:48:45","slug":"menu-stops-working-sometimes","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/menu-stops-working-sometimes\/","title":{"rendered":"Menu stops working sometimes"},"content":{"rendered":"<p>We are using the Jalbee theme and love it!<\/p>\n<p>However, we find the menu functionality on mobile (narrow screens) a little bit unreliable &#8211; particularly on Chrome (desktop with narrow window or mobile).<\/p>\n<p>Sometimes when you click on the MENU button, nothing happens and an exception is raised:<\/p>\n<p>Uncaught TypeError: Cannot read property &#8216;querySelector&#8217; of null<br \/>\n    at jalbeeInitMenuToggle (navigation.js?ver=20180514:121)<br \/>\n    at navigation.js?ver=20180514:23<br \/>\n    at navigation.js?ver=20180514:262<\/p>\n<p>This only seems to occur every second time.<\/p>\n<p>Other times, it works fine.<\/p>\n<p>This makes it pretty difficult to use the theme on mobiles.<\/p>\n","protected":false},"template":"","class_list":["post-13301821","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13301821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13301821\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13301821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}