{"issue":{"created_at":"2011-10-13T01:16:35Z","state":"closed","updated_at":"2011-11-29T21:44:27Z","comments":6,"user":{"gravatar_id":"ddf70489cc839540379de4a33ddaefb6","id":335402,"url":"https://api.github.com/users/chrislovecnm","login":"chrislovecnm","avatar_url":"https://secure.gravatar.com/avatar/ddf70489cc839540379de4a33ddaefb6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I have one modal defined by using the meta tags\r\n```\r\n<a data-controls-modal=\"about-us\" data-backdrop=\"static\">About Us</a>\r\n```\r\n\r\nand another on the same page using javascript\r\n```\r\n  $('#confirm-donation').modal({\r\n            keyboard: true,\r\n            backdrop: true\r\n  });\r\n```\r\nI get the backdrop on the first modal, but not on the second modal using javascript.  Animation is not working on either.","assignee":null,"id":1896426,"labels":[{"name":"js","color":"ffcc2f","url":"https://api.github.com/repos/twitter/bootstrap/labels/js"}],"number":417,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"modal wierdness","html_url":"https://github.com/twitter/bootstrap/issues/417","closed_at":"2011-10-18T07:01:06Z","url":"https://api.github.com/repos/twitter/bootstrap/issues/417","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T21:44:27Z","updated_at":"2011-11-29T21:44:27Z","user":{"gravatar_id":"b8415a5f8f63b4ccf5c4f8bb84500577","id":1191667,"url":"https://api.github.com/users/Arkkimaagi","login":"Arkkimaagi","avatar_url":"https://secure.gravatar.com/avatar/b8415a5f8f63b4ccf5c4f8bb84500577?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"chrislovecnm you would not happen to have two elements on page with identical id=\"#confirm\" now would you? I think that's why it only applies to the first as jQuery does an quick getElementById(\"confirm\") that returns only the first.","id":2950486,"url":"https://api.github.com/repos/twitter/bootstrap/issues/comments/2950486"}}