{"action":"created","issue":{"url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template/issues/4","repository_url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template","labels_url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template/issues/4/comments","events_url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template/issues/4/events","html_url":"https://github.com/azouaoui-med/pro-sidebar-template/issues/4","id":343581962,"node_id":"MDU6SXNzdWUzNDM1ODE5NjI=","number":4,"title":"pro sidebar toggle","user":{"login":"zerg052689","id":41574358,"node_id":"MDQ6VXNlcjQxNTc0MzU4","avatar_url":"https://avatars3.githubusercontent.com/u/41574358?v=4","gravatar_id":"","url":"https://api.github.com/users/zerg052689","html_url":"https://github.com/zerg052689","followers_url":"https://api.github.com/users/zerg052689/followers","following_url":"https://api.github.com/users/zerg052689/following{/other_user}","gists_url":"https://api.github.com/users/zerg052689/gists{/gist_id}","starred_url":"https://api.github.com/users/zerg052689/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerg052689/subscriptions","organizations_url":"https://api.github.com/users/zerg052689/orgs","repos_url":"https://api.github.com/users/zerg052689/repos","events_url":"https://api.github.com/users/zerg052689/events{/privacy}","received_events_url":"https://api.github.com/users/zerg052689/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-23T10:48:11Z","updated_at":"2018-07-29T07:00:01Z","closed_at":null,"author_association":"NONE","body":"I added this 2 code in custom.js: \r\n\r\n $(\"#toggle-sidebar\").click(function () {\r\n        $(\".page-wrapper\").toggleClass(\"toggled\");\r\n        if ($(\".page-wrapper\").hasClass(\"toggled\")){\r\n            localStorage.setItem(\"toggled\", \"true\");\r\n        }else{\r\n            localStorage.setItem(\"toggled\", \"false\");\r\n        } \r\n\r\nif (localStorage.getItem(\"toggled\") == \"true\"){\r\n        $(\".page-wrapper\").addClass(\"toggled\");\r\n    }else if (localStorage.getItem(\"toggled\") == \"false\"){\r\n        $(\".page-wrapper\").removeClass(\"toggled\");\r\n    }\r\n    });\r\n\r\nbut in console at local storage is empty , i dont see any change and sidebar not saved opened or closed ... i think need to save this in coockies or you can help me with correct code for this sidebar , i see in js code is #toggle-sidebar  but in html code from index is #close-sidebar ID , i try all posibility but not function, after refresh all changes is removed and not saved ... can you update this theme with  these function? thanks very much!"},"comment":{"url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template/issues/comments/408656602","html_url":"https://github.com/azouaoui-med/pro-sidebar-template/issues/4#issuecomment-408656602","issue_url":"https://api.github.com/repos/azouaoui-med/pro-sidebar-template/issues/4","id":408656602,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY1NjYwMg==","user":{"login":"azouaoui-med","id":25878302,"node_id":"MDQ6VXNlcjI1ODc4MzAy","avatar_url":"https://avatars0.githubusercontent.com/u/25878302?v=4","gravatar_id":"","url":"https://api.github.com/users/azouaoui-med","html_url":"https://github.com/azouaoui-med","followers_url":"https://api.github.com/users/azouaoui-med/followers","following_url":"https://api.github.com/users/azouaoui-med/following{/other_user}","gists_url":"https://api.github.com/users/azouaoui-med/gists{/gist_id}","starred_url":"https://api.github.com/users/azouaoui-med/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azouaoui-med/subscriptions","organizations_url":"https://api.github.com/users/azouaoui-med/orgs","repos_url":"https://api.github.com/users/azouaoui-med/repos","events_url":"https://api.github.com/users/azouaoui-med/events{/privacy}","received_events_url":"https://api.github.com/users/azouaoui-med/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T07:00:01Z","updated_at":"2018-07-29T07:00:01Z","author_association":"OWNER","body":"upload your code to github ... maybe you changed something "}}
{"actor":{"display_login":"azouaoui-med"}}