{"action":"created","issue":{"url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox/issues/22","repository_url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox","labels_url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox/issues/22/comments","events_url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox/issues/22/events","html_url":"https://github.com/vsn4ik/bootstrap-checkbox/issues/22","id":154587388,"number":22,"title":"Can't get this to work","user":{"login":"lcsqlpete","id":8495380,"avatar_url":"https://avatars.githubusercontent.com/u/8495380?v=3","gravatar_id":"","url":"https://api.github.com/users/lcsqlpete","html_url":"https://github.com/lcsqlpete","followers_url":"https://api.github.com/users/lcsqlpete/followers","following_url":"https://api.github.com/users/lcsqlpete/following{/other_user}","gists_url":"https://api.github.com/users/lcsqlpete/gists{/gist_id}","starred_url":"https://api.github.com/users/lcsqlpete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcsqlpete/subscriptions","organizations_url":"https://api.github.com/users/lcsqlpete/orgs","repos_url":"https://api.github.com/users/lcsqlpete/repos","events_url":"https://api.github.com/users/lcsqlpete/events{/privacy}","received_events_url":"https://api.github.com/users/lcsqlpete/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-12T21:37:30Z","updated_at":"2016-05-12T23:17:21Z","closed_at":"2016-05-12T21:50:05Z","body":"I'm sure I'm missing something obvious but I cannot get this to work, all checkboxes show up as checkboxes not switches.\r\n\r\nI downloaded the latest version and put the dist folder into my project folder.  Then copied the basic html from the examples and added one simple checkbox:\r\n\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\">\r\n  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css\">\r\n\r\n  <script src=\"https://code.jquery.com/jquery-2.2.3.min.js\" defer></script>\r\n  <script src=\"dist/js/bootstrap-checkbox.min.js\" defer></script>\r\n</head>\r\n<body>\r\n  <div class=\"form-horizontal\">\r\n    <div class=\"form-group\">\r\n        <div class=\"col-sm-3\">\r\n            <input type=\"checkbox\">\r\n        </div>\r\n    </div>\r\n    </div>\r\n</body>\r\n</html>\r\n```\r\n\r\nAny help much appreciated, I'd really like to use this!\r\n\r\nPete"},"comment":{"url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox/issues/comments/218912475","html_url":"https://github.com/vsn4ik/bootstrap-checkbox/issues/22#issuecomment-218912475","issue_url":"https://api.github.com/repos/vsn4ik/bootstrap-checkbox/issues/22","id":218912475,"user":{"login":"vsn4ik","id":3757319,"avatar_url":"https://avatars.githubusercontent.com/u/3757319?v=3","gravatar_id":"","url":"https://api.github.com/users/vsn4ik","html_url":"https://github.com/vsn4ik","followers_url":"https://api.github.com/users/vsn4ik/followers","following_url":"https://api.github.com/users/vsn4ik/following{/other_user}","gists_url":"https://api.github.com/users/vsn4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/vsn4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsn4ik/subscriptions","organizations_url":"https://api.github.com/users/vsn4ik/orgs","repos_url":"https://api.github.com/users/vsn4ik/repos","events_url":"https://api.github.com/users/vsn4ik/events{/privacy}","received_events_url":"https://api.github.com/users/vsn4ik/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T23:17:20Z","updated_at":"2016-05-12T23:17:20Z","body":"```html\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\">\r\n  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css\">\r\n\r\n  <script src=\"https://code.jquery.com/jquery-2.2.3.min.js\"></script>  <!-- Without defer -->\r\n  <script src=\"dist/js/bootstrap-checkbox.min.js\" defer></script>\r\n</head>\r\n<body>\r\n  <div class=\"form-horizontal\">\r\n    <div class=\"form-group\">\r\n        <div class=\"col-sm-3\">\r\n            <input type=\"checkbox\">\r\n        </div>\r\n    </div>\r\n    </div>\r\n    <script>\r\n    $(function() {\r\n      $(':checkbox').checkboxpicker();\r\n    });\r\n    </script>\r\n</body>\r\n</html>\r\n```"}}