{"action":"created","issue":{"url":"https://api.github.com/repos/jacobwb/hashover/issues/25","repository_url":"https://api.github.com/repos/jacobwb/hashover","labels_url":"https://api.github.com/repos/jacobwb/hashover/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/jacobwb/hashover/issues/25/comments","events_url":"https://api.github.com/repos/jacobwb/hashover/issues/25/events","html_url":"https://github.com/jacobwb/hashover/issues/25","id":216801364,"number":25,"title":"How to make a PJAX overload on Hashover?","user":{"login":"LiarOnce","id":11171892,"avatar_url":"https://avatars2.githubusercontent.com/u/11171892?v=3","gravatar_id":"","url":"https://api.github.com/users/LiarOnce","html_url":"https://github.com/LiarOnce","followers_url":"https://api.github.com/users/LiarOnce/followers","following_url":"https://api.github.com/users/LiarOnce/following{/other_user}","gists_url":"https://api.github.com/users/LiarOnce/gists{/gist_id}","starred_url":"https://api.github.com/users/LiarOnce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiarOnce/subscriptions","organizations_url":"https://api.github.com/users/LiarOnce/orgs","repos_url":"https://api.github.com/users/LiarOnce/repos","events_url":"https://api.github.com/users/LiarOnce/events{/privacy}","received_events_url":"https://api.github.com/users/LiarOnce/received_events","type":"User","site_admin":false},"labels":[{"id":88136124,"url":"https://api.github.com/repos/jacobwb/hashover/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-24T14:26:18Z","updated_at":"2017-03-26T04:59:58Z","closed_at":null,"body":"Hashover fails to load under PJAX and needs to be refreshed before it will be displayed."},"comment":{"url":"https://api.github.com/repos/jacobwb/hashover/issues/comments/289258704","html_url":"https://github.com/jacobwb/hashover/issues/25#issuecomment-289258704","issue_url":"https://api.github.com/repos/jacobwb/hashover/issues/25","id":289258704,"user":{"login":"LiarOnce","id":11171892,"avatar_url":"https://avatars2.githubusercontent.com/u/11171892?v=3","gravatar_id":"","url":"https://api.github.com/users/LiarOnce","html_url":"https://github.com/LiarOnce","followers_url":"https://api.github.com/users/LiarOnce/followers","following_url":"https://api.github.com/users/LiarOnce/following{/other_user}","gists_url":"https://api.github.com/users/LiarOnce/gists{/gist_id}","starred_url":"https://api.github.com/users/LiarOnce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiarOnce/subscriptions","organizations_url":"https://api.github.com/users/LiarOnce/orgs","repos_url":"https://api.github.com/users/LiarOnce/repos","events_url":"https://api.github.com/users/LiarOnce/events{/privacy}","received_events_url":"https://api.github.com/users/LiarOnce/received_events","type":"User","site_admin":false},"created_at":"2017-03-26T04:59:58Z","updated_at":"2017-03-26T04:59:58Z","body":"Yes, there is a section of code in my WordPress theme:\r\n```javascript\r\n$(document).pjax('a[target!=_top]', '#page', {\r\n            fragment: '#page',\r\n            timeout: 8000,\r\n        }).on('pjax:send', function() {\r\n            $('#loading').fadeIn(300);\r\n            Siren.MNH();\r\n        }).on('pjax:complete', function() { \r\n            Siren.AH();\r\n            Siren.PE();\r\n            Siren.CE();\r\n            $(\"#loading\").fadeOut(500);\r\n            if(Poi.codelamp == 'open'){ self.Prism.highlightAll(event) }; // 解决Prism.js代码高亮\r\n            if($('.ds-thread').length > 0) {  // 解决多说问题\r\n               if (typeof DUOSHUO !== 'undefined'){\r\n                  DUOSHUO.EmbedThread('.ds-thread'); \r\n               }else{ \r\n                  $.getScript(\"//static.duoshuo.com/embed.js\"); \r\n              }\r\n            }       \r\n        }).on('submit', '.search-form,.s-search', function (event) {\r\n            event.preventDefault();\r\n            $.pjax.submit(event, '#page', {\r\n                fragment:'#page', \r\n                timeout:8000,\r\n            });\r\n            if($('.js-search.is-visible').length > 0){\r\n                $('.js-toggle-search').toggleClass('is-active');\r\n                $('.js-search').toggleClass('is-visible');\r\n            } \r\n        });\r\n    }\r\n```"}}
{"actor":{"display_login":"LiarOnce"}}