{"action":"created","issue":{"url":"https://api.github.com/repos/BeSite/jQuery.mmenu/issues/442","labels_url":"https://api.github.com/repos/BeSite/jQuery.mmenu/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/BeSite/jQuery.mmenu/issues/442/comments","events_url":"https://api.github.com/repos/BeSite/jQuery.mmenu/issues/442/events","html_url":"https://github.com/BeSite/jQuery.mmenu/issues/442","id":111013559,"number":442,"title":"First menu won't close when 2 menus are used","user":{"login":"clarosa-garlock","id":15092541,"avatar_url":"https://avatars.githubusercontent.com/u/15092541?v=3","gravatar_id":"","url":"https://api.github.com/users/clarosa-garlock","html_url":"https://github.com/clarosa-garlock","followers_url":"https://api.github.com/users/clarosa-garlock/followers","following_url":"https://api.github.com/users/clarosa-garlock/following{/other_user}","gists_url":"https://api.github.com/users/clarosa-garlock/gists{/gist_id}","starred_url":"https://api.github.com/users/clarosa-garlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarosa-garlock/subscriptions","organizations_url":"https://api.github.com/users/clarosa-garlock/orgs","repos_url":"https://api.github.com/users/clarosa-garlock/repos","events_url":"https://api.github.com/users/clarosa-garlock/events{/privacy}","received_events_url":"https://api.github.com/users/clarosa-garlock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-12T16:46:00Z","updated_at":"2015-11-16T21:53:37Z","closed_at":null,"body":"My website has 2 menus which open with jQuery.mmenu.  Both menus works fine with jQuery.mmenu-4.7.5.  However, when I upgrade to jQuery.mmenu-5.5.2, the first menu (the one that calls mmenu() first in the ready function) no-longer closes when I click on the page overlay.  Here is my ready function:\r\n\r\n\tjQuery(document).ready(function($) {\r\n\r\n\t\t$(\"#main-mmenu\").mmenu({\r\n\t\t\t// options\r\n\t\t\textensions: [ \"theme-dark\" ],\r\n\t\t\toffCanvas: { position: \"left\" },\r\n\t\t}, {\r\n\t\t\t// configuration\r\n\t\t\tclone: true\r\n\t\t});\r\n\r\n\t\t$(\"#language-mmenu\").mmenu({\r\n\t\t\t// options\r\n\t\t\textensions: [ \"theme-dark\" ],\r\n\t\t\toffCanvas: { position: \"right\" }\r\n\t\t}, {\r\n\t\t\t// configuration\r\n\t\t\tclone: true\r\n\t\t});\r\n\t});\r\n\r\nI have included all the appropriate CSS and JS files.  This appears to be a regression."},"comment":{"url":"https://api.github.com/repos/BeSite/jQuery.mmenu/issues/comments/157182313","html_url":"https://github.com/BeSite/jQuery.mmenu/issues/442#issuecomment-157182313","issue_url":"https://api.github.com/repos/BeSite/jQuery.mmenu/issues/442","id":157182313,"user":{"login":"FrDH","id":1387163,"avatar_url":"https://avatars.githubusercontent.com/u/1387163?v=3","gravatar_id":"","url":"https://api.github.com/users/FrDH","html_url":"https://github.com/FrDH","followers_url":"https://api.github.com/users/FrDH/followers","following_url":"https://api.github.com/users/FrDH/following{/other_user}","gists_url":"https://api.github.com/users/FrDH/gists{/gist_id}","starred_url":"https://api.github.com/users/FrDH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrDH/subscriptions","organizations_url":"https://api.github.com/users/FrDH/orgs","repos_url":"https://api.github.com/users/FrDH/repos","events_url":"https://api.github.com/users/FrDH/events{/privacy}","received_events_url":"https://api.github.com/users/FrDH/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T21:53:37Z","updated_at":"2015-11-16T21:53:37Z","body":"Thank you for the demo file.\r\nI found It has something to do with the `clone` config option set to `true` on the first menu, setting it to `true` in the second menu makes no difference.\r\nI'll investigate why and see if I can fix this in the next version."}}