{"action":"created","issue":{"url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1630","labels_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1630/labels{/name}","comments_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1630/comments","events_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1630/events","html_url":"https://github.com/eternicode/bootstrap-datepicker/issues/1630","id":112374967,"number":1630,"title":"detach() in hide function make the popup only works for the first time","user":{"login":"investorguide-hao","id":4604663,"avatar_url":"https://avatars.githubusercontent.com/u/4604663?v=3","gravatar_id":"","url":"https://api.github.com/users/investorguide-hao","html_url":"https://github.com/investorguide-hao","followers_url":"https://api.github.com/users/investorguide-hao/followers","following_url":"https://api.github.com/users/investorguide-hao/following{/other_user}","gists_url":"https://api.github.com/users/investorguide-hao/gists{/gist_id}","starred_url":"https://api.github.com/users/investorguide-hao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/investorguide-hao/subscriptions","organizations_url":"https://api.github.com/users/investorguide-hao/orgs","repos_url":"https://api.github.com/users/investorguide-hao/repos","events_url":"https://api.github.com/users/investorguide-hao/events{/privacy}","received_events_url":"https://api.github.com/users/investorguide-hao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T13:58:43Z","updated_at":"2015-10-20T14:08:30Z","closed_at":null,"body":"i have been debugging this for hours, i am using (no bootstrap js)\r\njquery1.7.2,\r\n1.5.0/js/bootstrap-datepicker.js,\r\n1.5.0/css/bootstrap-datepicker.standalone.css\r\n\r\nFirst time popup works as expected, after i click outside to hide it, later popups only show an empty div,\r\ncalendar itself is empty. After I remove the detach() in hide function, it works fine. I wonder if it's my own code cause it or its something else."},"comment":{"url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/comments/149579306","html_url":"https://github.com/eternicode/bootstrap-datepicker/issues/1630#issuecomment-149579306","issue_url":"https://api.github.com/repos/eternicode/bootstrap-datepicker/issues/1630","id":149579306,"user":{"login":"Azaret","id":1201743,"avatar_url":"https://avatars.githubusercontent.com/u/1201743?v=3","gravatar_id":"","url":"https://api.github.com/users/Azaret","html_url":"https://github.com/Azaret","followers_url":"https://api.github.com/users/Azaret/followers","following_url":"https://api.github.com/users/Azaret/following{/other_user}","gists_url":"https://api.github.com/users/Azaret/gists{/gist_id}","starred_url":"https://api.github.com/users/Azaret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azaret/subscriptions","organizations_url":"https://api.github.com/users/Azaret/orgs","repos_url":"https://api.github.com/users/Azaret/repos","events_url":"https://api.github.com/users/Azaret/events{/privacy}","received_events_url":"https://api.github.com/users/Azaret/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T14:08:30Z","updated_at":"2015-10-20T14:08:30Z","body":"Looks like it is working well, even with jQuery `1.7.2`: https://jsfiddle.net/wmbsjg13/1/\r\nWhat's your options ? How do you instantiate the picker ?"}}