{"action":"created","comment":{"url":"https://api.github.com/repos/mojolicious/mojo/pulls/comments/243738555","pull_request_review_id":187594326,"id":243738555,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzczODU1NQ==","diff_hunk":"@@ -86,6 +150,11 @@\n       $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);\n     }\n   }\n+  document.querySelector(\"#mojobar-brand\").addEventListener(\"click\", function (e) {","path":"lib/Mojolicious/resources/templates/mojo/menubar.html.ep","position":75,"original_position":75,"commit_id":"3062cb4be243cdfd16ba8998ed28e10264456332","original_commit_id":"3062cb4be243cdfd16ba8998ed28e10264456332","user":{"login":"kraih","id":30094,"node_id":"MDQ6VXNlcjMwMDk0","avatar_url":"https://avatars3.githubusercontent.com/u/30094?v=4","gravatar_id":"","url":"https://api.github.com/users/kraih","html_url":"https://github.com/kraih","followers_url":"https://api.github.com/users/kraih/followers","following_url":"https://api.github.com/users/kraih/following{/other_user}","gists_url":"https://api.github.com/users/kraih/gists{/gist_id}","starred_url":"https://api.github.com/users/kraih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraih/subscriptions","organizations_url":"https://api.github.com/users/kraih/orgs","repos_url":"https://api.github.com/users/kraih/repos","events_url":"https://api.github.com/users/kraih/events{/privacy}","received_events_url":"https://api.github.com/users/kraih/received_events","type":"User","site_admin":false},"body":"The rest of the file uses jQuery for everything, shouldn't it be consistent?","created_at":"2018-12-22T14:48:57Z","updated_at":"2018-12-22T14:48:58Z","html_url":"https://github.com/mojolicious/mojo/pull/1304#discussion_r243738555","pull_request_url":"https://api.github.com/repos/mojolicious/mojo/pulls/1304","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mojolicious/mojo/pulls/comments/243738555"},"html":{"href":"https://github.com/mojolicious/mojo/pull/1304#discussion_r243738555"},"pull_request":{"href":"https://api.github.com/repos/mojolicious/mojo/pulls/1304"}}},"pull_request":{"url":"https://api.github.com/repos/mojolicious/mojo/pulls/1304","id":240355190,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMzU1MTkw","html_url":"https://github.com/mojolicious/mojo/pull/1304","diff_url":"https://github.com/mojolicious/mojo/pull/1304.diff","patch_url":"https://github.com/mojolicious/mojo/pull/1304.patch","issue_url":"https://api.github.com/repos/mojolicious/mojo/issues/1304","number":1304,"state":"open","locked":false,"title":"Made debug, exception and not_found pages responsive","user":{"login":"jhthorsen","id":45729,"node_id":"MDQ6VXNlcjQ1NzI5","avatar_url":"https://avatars2.githubusercontent.com/u/45729?v=4","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"body":"### Summary\r\nThis PR makes the debug, exception and not_found pages mobile friendly. See screenshots below for a quick overview of the changes.\r\n\r\n* Menu links is hidden under a hamburger toggle on small screens.\r\n* The debug pages on mobile will allow the pre/table elements to scroll horizontally.\r\n* The images on not_found and exception pages are in center on mobile.\r\n* Should lib/Mojolicious/resources/templates/mojo/perldoc.html.ep be deleted?\r\n\r\n### Motivation\r\nThe motivation for this PR is to make Mojolicious more mobile friendly. It will also make the diff for  https://github.com/mojolicious/mojolicious.org/pull/6 smaller.\r\n\r\n### References\r\n* https://github.com/mojolicious/mojolicious.org/pull/6\r\n\r\n<img width=\"322\" alt=\"not found production\" src=\"https://user-images.githubusercontent.com/45729/50321049-52e80b80-0512-11e9-9a2e-fde7372d8830.png\">\r\n<img width=\"323\" alt=\"exception production\" src=\"https://user-images.githubusercontent.com/45729/50321050-5380a200-0512-11e9-9b89-8450d5904e19.png\">\r\n<img width=\"322\" alt=\"exception development\" src=\"https://user-images.githubusercontent.com/45729/50321067-63988180-0512-11e9-9485-f61d852dfee5.png\">\r\n<img width=\"322\" alt=\"not found menu open development\" src=\"https://user-images.githubusercontent.com/45729/50321211-1d8fed80-0513-11e9-91df-33339b776829.png\">\r\n","created_at":"2018-12-21T02:26:00Z","updated_at":"2018-12-22T14:48:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5e52662e29753329a8f01b7b60e05dd443f852e","assignee":{"login":"jhthorsen","id":45729,"node_id":"MDQ6VXNlcjQ1NzI5","avatar_url":"https://avatars2.githubusercontent.com/u/45729?v=4","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"assignees":[{"login":"jhthorsen","id":45729,"node_id":"MDQ6VXNlcjQ1NzI5","avatar_url":"https://avatars2.githubusercontent.com/u/45729?v=4","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mojolicious/mojo/pulls/1304/commits","review_comments_url":"https://api.github.com/repos/mojolicious/mojo/pulls/1304/comments","review_comment_url":"https://api.github.com/repos/mojolicious/mojo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mojolicious/mojo/issues/1304/comments","statuses_url":"https://api.github.com/repos/mojolicious/mojo/statuses/3062cb4be243cdfd16ba8998ed28e10264456332","head":{"label":"mojolicious:responsive","ref":"responsive","sha":"3062cb4be243cdfd16ba8998ed28e10264456332","user":{"login":"mojolicious","id":2388868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODg4Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/2388868?v=4","gravatar_id":"","url":"https://api.github.com/users/mojolicious","html_url":"https://github.com/mojolicious","followers_url":"https://api.github.com/users/mojolicious/followers","following_url":"https://api.github.com/users/mojolicious/following{/other_user}","gists_url":"https://api.github.com/users/mojolicious/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolicious/subscriptions","organizations_url":"https://api.github.com/users/mojolicious/orgs","repos_url":"https://api.github.com/users/mojolicious/repos","events_url":"https://api.github.com/users/mojolicious/events{/privacy}","received_events_url":"https://api.github.com/users/mojolicious/received_events","type":"Organization","site_admin":false},"repo":{"id":65646,"node_id":"MDEwOlJlcG9zaXRvcnk2NTY0Ng==","name":"mojo","full_name":"mojolicious/mojo","private":false,"owner":{"login":"mojolicious","id":2388868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODg4Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/2388868?v=4","gravatar_id":"","url":"https://api.github.com/users/mojolicious","html_url":"https://github.com/mojolicious","followers_url":"https://api.github.com/users/mojolicious/followers","following_url":"https://api.github.com/users/mojolicious/following{/other_user}","gists_url":"https://api.github.com/users/mojolicious/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolicious/subscriptions","organizations_url":"https://api.github.com/users/mojolicious/orgs","repos_url":"https://api.github.com/users/mojolicious/repos","events_url":"https://api.github.com/users/mojolicious/events{/privacy}","received_events_url":"https://api.github.com/users/mojolicious/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mojolicious/mojo","description":":sparkles: Mojolicious - Perl real-time web framework","fork":false,"url":"https://api.github.com/repos/mojolicious/mojo","forks_url":"https://api.github.com/repos/mojolicious/mojo/forks","keys_url":"https://api.github.com/repos/mojolicious/mojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mojolicious/mojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mojolicious/mojo/teams","hooks_url":"https://api.github.com/repos/mojolicious/mojo/hooks","issue_events_url":"https://api.github.com/repos/mojolicious/mojo/issues/events{/number}","events_url":"https://api.github.com/repos/mojolicious/mojo/events","assignees_url":"https://api.github.com/repos/mojolicious/mojo/assignees{/user}","branches_url":"https://api.github.com/repos/mojolicious/mojo/branches{/branch}","tags_url":"https://api.github.com/repos/mojolicious/mojo/tags","blobs_url":"https://api.github.com/repos/mojolicious/mojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mojolicious/mojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mojolicious/mojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/mojolicious/mojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mojolicious/mojo/statuses/{sha}","languages_url":"https://api.github.com/repos/mojolicious/mojo/languages","stargazers_url":"https://api.github.com/repos/mojolicious/mojo/stargazers","contributors_url":"https://api.github.com/repos/mojolicious/mojo/contributors","subscribers_url":"https://api.github.com/repos/mojolicious/mojo/subscribers","subscription_url":"https://api.github.com/repos/mojolicious/mojo/subscription","commits_url":"https://api.github.com/repos/mojolicious/mojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/mojolicious/mojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/mojolicious/mojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/mojolicious/mojo/issues/comments{/number}","contents_url":"https://api.github.com/repos/mojolicious/mojo/contents/{+path}","compare_url":"https://api.github.com/repos/mojolicious/mojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mojolicious/mojo/merges","archive_url":"https://api.github.com/repos/mojolicious/mojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mojolicious/mojo/downloads","issues_url":"https://api.github.com/repos/mojolicious/mojo/issues{/number}","pulls_url":"https://api.github.com/repos/mojolicious/mojo/pulls{/number}","milestones_url":"https://api.github.com/repos/mojolicious/mojo/milestones{/number}","notifications_url":"https://api.github.com/repos/mojolicious/mojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mojolicious/mojo/labels{/name}","releases_url":"https://api.github.com/repos/mojolicious/mojo/releases{/id}","deployments_url":"https://api.github.com/repos/mojolicious/mojo/deployments","created_at":"2008-10-21T07:50:26Z","updated_at":"2018-12-20T23:30:22Z","pushed_at":"2018-12-21T02:26:01Z","git_url":"git://github.com/mojolicious/mojo.git","ssh_url":"git@github.com:mojolicious/mojo.git","clone_url":"https://github.com/mojolicious/mojo.git","svn_url":"https://github.com/mojolicious/mojo","homepage":"https://mojolicious.org","size":25383,"stargazers_count":2063,"watchers_count":2063,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":484,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"artistic-2.0","name":"Artistic License 2.0","spdx_id":"Artistic-2.0","url":"https://api.github.com/licenses/artistic-2.0","node_id":"MDc6TGljZW5zZTM="},"forks":484,"open_issues":10,"watchers":2063,"default_branch":"master"}},"base":{"label":"mojolicious:master","ref":"master","sha":"fb702a7a7618c82fff57b1a0d7d49ac71eb8ee7d","user":{"login":"mojolicious","id":2388868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODg4Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/2388868?v=4","gravatar_id":"","url":"https://api.github.com/users/mojolicious","html_url":"https://github.com/mojolicious","followers_url":"https://api.github.com/users/mojolicious/followers","following_url":"https://api.github.com/users/mojolicious/following{/other_user}","gists_url":"https://api.github.com/users/mojolicious/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolicious/subscriptions","organizations_url":"https://api.github.com/users/mojolicious/orgs","repos_url":"https://api.github.com/users/mojolicious/repos","events_url":"https://api.github.com/users/mojolicious/events{/privacy}","received_events_url":"https://api.github.com/users/mojolicious/received_events","type":"Organization","site_admin":false},"repo":{"id":65646,"node_id":"MDEwOlJlcG9zaXRvcnk2NTY0Ng==","name":"mojo","full_name":"mojolicious/mojo","private":false,"owner":{"login":"mojolicious","id":2388868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODg4Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/2388868?v=4","gravatar_id":"","url":"https://api.github.com/users/mojolicious","html_url":"https://github.com/mojolicious","followers_url":"https://api.github.com/users/mojolicious/followers","following_url":"https://api.github.com/users/mojolicious/following{/other_user}","gists_url":"https://api.github.com/users/mojolicious/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolicious/subscriptions","organizations_url":"https://api.github.com/users/mojolicious/orgs","repos_url":"https://api.github.com/users/mojolicious/repos","events_url":"https://api.github.com/users/mojolicious/events{/privacy}","received_events_url":"https://api.github.com/users/mojolicious/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mojolicious/mojo","description":":sparkles: Mojolicious - Perl real-time web framework","fork":false,"url":"https://api.github.com/repos/mojolicious/mojo","forks_url":"https://api.github.com/repos/mojolicious/mojo/forks","keys_url":"https://api.github.com/repos/mojolicious/mojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mojolicious/mojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mojolicious/mojo/teams","hooks_url":"https://api.github.com/repos/mojolicious/mojo/hooks","issue_events_url":"https://api.github.com/repos/mojolicious/mojo/issues/events{/number}","events_url":"https://api.github.com/repos/mojolicious/mojo/events","assignees_url":"https://api.github.com/repos/mojolicious/mojo/assignees{/user}","branches_url":"https://api.github.com/repos/mojolicious/mojo/branches{/branch}","tags_url":"https://api.github.com/repos/mojolicious/mojo/tags","blobs_url":"https://api.github.com/repos/mojolicious/mojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mojolicious/mojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mojolicious/mojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/mojolicious/mojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mojolicious/mojo/statuses/{sha}","languages_url":"https://api.github.com/repos/mojolicious/mojo/languages","stargazers_url":"https://api.github.com/repos/mojolicious/mojo/stargazers","contributors_url":"https://api.github.com/repos/mojolicious/mojo/contributors","subscribers_url":"https://api.github.com/repos/mojolicious/mojo/subscribers","subscription_url":"https://api.github.com/repos/mojolicious/mojo/subscription","commits_url":"https://api.github.com/repos/mojolicious/mojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/mojolicious/mojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/mojolicious/mojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/mojolicious/mojo/issues/comments{/number}","contents_url":"https://api.github.com/repos/mojolicious/mojo/contents/{+path}","compare_url":"https://api.github.com/repos/mojolicious/mojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mojolicious/mojo/merges","archive_url":"https://api.github.com/repos/mojolicious/mojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mojolicious/mojo/downloads","issues_url":"https://api.github.com/repos/mojolicious/mojo/issues{/number}","pulls_url":"https://api.github.com/repos/mojolicious/mojo/pulls{/number}","milestones_url":"https://api.github.com/repos/mojolicious/mojo/milestones{/number}","notifications_url":"https://api.github.com/repos/mojolicious/mojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mojolicious/mojo/labels{/name}","releases_url":"https://api.github.com/repos/mojolicious/mojo/releases{/id}","deployments_url":"https://api.github.com/repos/mojolicious/mojo/deployments","created_at":"2008-10-21T07:50:26Z","updated_at":"2018-12-20T23:30:22Z","pushed_at":"2018-12-21T02:26:01Z","git_url":"git://github.com/mojolicious/mojo.git","ssh_url":"git@github.com:mojolicious/mojo.git","clone_url":"https://github.com/mojolicious/mojo.git","svn_url":"https://github.com/mojolicious/mojo","homepage":"https://mojolicious.org","size":25383,"stargazers_count":2063,"watchers_count":2063,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":484,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"artistic-2.0","name":"Artistic License 2.0","spdx_id":"Artistic-2.0","url":"https://api.github.com/licenses/artistic-2.0","node_id":"MDc6TGljZW5zZTM="},"forks":484,"open_issues":10,"watchers":2063,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mojolicious/mojo/pulls/1304"},"html":{"href":"https://github.com/mojolicious/mojo/pull/1304"},"issue":{"href":"https://api.github.com/repos/mojolicious/mojo/issues/1304"},"comments":{"href":"https://api.github.com/repos/mojolicious/mojo/issues/1304/comments"},"review_comments":{"href":"https://api.github.com/repos/mojolicious/mojo/pulls/1304/comments"},"review_comment":{"href":"https://api.github.com/repos/mojolicious/mojo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mojolicious/mojo/pulls/1304/commits"},"statuses":{"href":"https://api.github.com/repos/mojolicious/mojo/statuses/3062cb4be243cdfd16ba8998ed28e10264456332"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kraih"}}