{"action":"created","issue":{"url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/30","repository_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar","labels_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/30/comments","events_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/30/events","html_url":"https://github.com/idiotWu/smooth-scrollbar/issues/30","id":162070673,"number":30,"title":"Scroll bar failure","user":{"login":"xzl666","id":11781165,"avatar_url":"https://avatars.githubusercontent.com/u/11781165?v=3","gravatar_id":"","url":"https://api.github.com/users/xzl666","html_url":"https://github.com/xzl666","followers_url":"https://api.github.com/users/xzl666/followers","following_url":"https://api.github.com/users/xzl666/following{/other_user}","gists_url":"https://api.github.com/users/xzl666/gists{/gist_id}","starred_url":"https://api.github.com/users/xzl666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzl666/subscriptions","organizations_url":"https://api.github.com/users/xzl666/orgs","repos_url":"https://api.github.com/users/xzl666/repos","events_url":"https://api.github.com/users/xzl666/events{/privacy}","received_events_url":"https://api.github.com/users/xzl666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-24T03:46:37Z","updated_at":"2016-06-24T04:48:42Z","closed_at":null,"body":"When using the Ajax request data, the scroll bar fails."},"comment":{"url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/comments/228257406","html_url":"https://github.com/idiotWu/smooth-scrollbar/issues/30#issuecomment-228257406","issue_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/30","id":228257406,"user":{"login":"xzl666","id":11781165,"avatar_url":"https://avatars.githubusercontent.com/u/11781165?v=3","gravatar_id":"","url":"https://api.github.com/users/xzl666","html_url":"https://github.com/xzl666","followers_url":"https://api.github.com/users/xzl666/followers","following_url":"https://api.github.com/users/xzl666/following{/other_user}","gists_url":"https://api.github.com/users/xzl666/gists{/gist_id}","starred_url":"https://api.github.com/users/xzl666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzl666/subscriptions","organizations_url":"https://api.github.com/users/xzl666/orgs","repos_url":"https://api.github.com/users/xzl666/repos","events_url":"https://api.github.com/users/xzl666/events{/privacy}","received_events_url":"https://api.github.com/users/xzl666/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T04:48:42Z","updated_at":"2016-06-24T04:48:42Z","body":"I use this method`function fillTimeSlotOfLack() {\r\n\tvar htmlString = '';\r\n\tvar data = queryTimeSlotOfLackByCurDateTime();\r\n\t$(\"#home-missTime\").empty();\r\n\t$.each(data, function(i, timeSlot) {\r\n\t\tif(i == 0) {\r\n\t\t\thtmlString += '<article class=\"scroll-content\" style=\"transform: translate3d(0px, 0px, 0px);\">';\r\n\t\t\thtmlString += '<div style=\"margin:10px;display:inline-block;width:346px;height:40px;text-align:center\"><span style=\"color:black; font-size:20px; font-weight:600;line-height:40px;\">遗漏时光</span></div>';\r\n\t\t\thtmlString += '<div style=\"background:#F0F3F4;margin:10px; margin-top:0px;display:inline-block;width:346px;height:40px;border-radius:10px;box-shadow: 0 0 10px #eee;\"><span style=\"color:black; font-size:20px; font-weight:400;line-height:40px;float:left;margin-left:10px\">'+timeSlot+'</span><span class=\"label label-primary\" style=\"margin-right:10px; cursor:pointer; float:right;height:25px;padding:5px;margin-top:8px\" onclick=\"showTimeMachine()\">添加</span></div>';\r\n\t\t} else {\r\n\t\t\thtmlString += '<div style=\"background:#F0F3F4;margin:10px; margin-top:0px;display:inline-block;width:346px;height:40px;border-radius:10px;box-shadow: 0 0 10px #eee;\"><span style=\"color:black; font-size:20px; font-weight:400;line-height:40px;float:left;margin-left:10px\">'+timeSlot+'</span><span class=\"label label-primary\" style=\"margin-right:10px; cursor:pointer; float:right;height:25px;padding:5px;margin-top:8px\" onclick=\"showTimeMachine()\">添加</span></div>';\r\n\t\t}\r\n\t});\r\n\thtmlString += '</article>';\r\n\thtmlString += '<aside class=\"scrollbar-track scrollbar-track-x\" style=\"display: none;\"><div class=\"scrollbar-thumb scrollbar-thumb-x\" style=\"width: 366px; transform: translate3d(0px, 0px, 0px);\"></div></aside><aside class=\"scrollbar-track scrollbar-track-y\" style=\"display: none;\"><div class=\"scrollbar-thumb scrollbar-thumb-y\" style=\"height: 3180.34px; transform: translate3d(0px, 0px, 0px);\"></div></aside><canvas class=\"scrollbar-effect\" style=\"display: none;\" width=\"366\" height=\"610\"></canvas>';\r\n\t$(\"#home-missTime\").append(htmlString);\r\n}`"}}
{"actor":{"display_login":"xzl666"}}