{"action":"opened","issue":{"url":"https://api.github.com/repos/vdw/HideSeek/issues/13","labels_url":"https://api.github.com/repos/vdw/HideSeek/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/vdw/HideSeek/issues/13/comments","events_url":"https://api.github.com/repos/vdw/HideSeek/issues/13/events","html_url":"https://github.com/vdw/HideSeek/issues/13","id":88644194,"number":13,"title":"Callback for initial state","user":{"login":"SiamKreative","id":1778633,"avatar_url":"https://avatars.githubusercontent.com/u/1778633?v=3","gravatar_id":"","url":"https://api.github.com/users/SiamKreative","html_url":"https://github.com/SiamKreative","followers_url":"https://api.github.com/users/SiamKreative/followers","following_url":"https://api.github.com/users/SiamKreative/following{/other_user}","gists_url":"https://api.github.com/users/SiamKreative/gists{/gist_id}","starred_url":"https://api.github.com/users/SiamKreative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiamKreative/subscriptions","organizations_url":"https://api.github.com/users/SiamKreative/orgs","repos_url":"https://api.github.com/users/SiamKreative/repos","events_url":"https://api.github.com/users/SiamKreative/events{/privacy}","received_events_url":"https://api.github.com/users/SiamKreative/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-16T07:24:34Z","updated_at":"2015-06-16T07:24:34Z","closed_at":null,"body":"Hi @vdw,\r\n\r\nIn one project, I wanted to show only the first 5 elements of a list. Therefore, the hidden_mode was not suitable and here is what I did: `$('#adh-other-lamps>li:not(:lt(5))').hide();`.\r\n\r\nBut when someone searches, and delete the search string, the whole list shows up. Could you please add a callback for when it goes back to initial state (empty input)? Or let me know how I could achieve this?\r\n\r\nCheers\r\n"}}