{"action":"created","issue":{"url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1366","labels_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1366/labels{/name}","comments_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1366/comments","events_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1366/events","html_url":"https://github.com/eternicode/bootstrap-datepicker/issues/1366","id":67730404,"number":1366,"title":"[bug]click another elements hidden datepicker will hidden also","user":{"login":"joebnb","id":1646883,"avatar_url":"https://avatars.githubusercontent.com/u/1646883?v=3","gravatar_id":"","url":"https://api.github.com/users/joebnb","html_url":"https://github.com/joebnb","followers_url":"https://api.github.com/users/joebnb/followers","following_url":"https://api.github.com/users/joebnb/following{/other_user}","gists_url":"https://api.github.com/users/joebnb/gists{/gist_id}","starred_url":"https://api.github.com/users/joebnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joebnb/subscriptions","organizations_url":"https://api.github.com/users/joebnb/orgs","repos_url":"https://api.github.com/users/joebnb/repos","events_url":"https://api.github.com/users/joebnb/events{/privacy}","received_events_url":"https://api.github.com/users/joebnb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-11T04:12:19Z","updated_at":"2015-04-20T10:32:53Z","closed_at":null,"body":"```\r\n<div class=\"alert alert-success\">\r\n\t<div class=\"close\">X</div>\r\n\tsomenotify\r\n</div>\r\n<div id=\"datepicker\"></div>\r\n<script type=\"text/javascript\">\r\n\t\r\n\t$('#datepicker').datepicker({\r\n\t\t\t    format: \"yyyy/mm/dd\",\r\n\t\t\t    weekStart: 0,\r\n\t\t\t    //language: \"zh-CN\",\r\n\t\t\t    todayHighlight: true\r\n\t\t\t});\r\n</script>\r\n```\r\nif i click X to hidden alert,.date time will hidden...i dont konw why will cause this,i use it in  Embedded / inline model\r\ni found here was a bug,i think it should determined did this works inline:\r\n```\r\n\t\t\t\t[$(document), {\r\n\t\t\t\t\tmousedown: $.proxy(function(e){\r\n\t\t\t\t\t\t// Clicked outside the datepicker, hide it\r\n\t\t\t\t\t\tif (!(\r\n\t\t\t\t\t\t\tthis.element.is(e.target) ||\r\n\t\t\t\t\t\t\tthis.element.find(e.target).length ||\r\n\t\t\t\t\t\t\tthis.picker.is(e.target) ||\r\n\t\t\t\t\t\t\tthis.picker.find(e.target).length\r\n\t\t\t\t\t\t)){\r\n\t\t\t\t\t\t\t//$(this.picker).hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, this)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/comments/94417854","html_url":"https://github.com/eternicode/bootstrap-datepicker/issues/1366#issuecomment-94417854","issue_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1366","id":94417854,"user":{"login":"joebnb","id":1646883,"avatar_url":"https://avatars.githubusercontent.com/u/1646883?v=3","gravatar_id":"","url":"https://api.github.com/users/joebnb","html_url":"https://github.com/joebnb","followers_url":"https://api.github.com/users/joebnb/followers","following_url":"https://api.github.com/users/joebnb/following{/other_user}","gists_url":"https://api.github.com/users/joebnb/gists{/gist_id}","starred_url":"https://api.github.com/users/joebnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joebnb/subscriptions","organizations_url":"https://api.github.com/users/joebnb/orgs","repos_url":"https://api.github.com/users/joebnb/repos","events_url":"https://api.github.com/users/joebnb/events{/privacy}","received_events_url":"https://api.github.com/users/joebnb/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T10:32:53Z","updated_at":"2015-04-20T10:32:53Z","body":"wish fix it in next update"}}