{"action":"created","issue":{"url":"https://api.github.com/repos/petkivim/embed-google-map/issues/23","repository_url":"https://api.github.com/repos/petkivim/embed-google-map","labels_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/23/comments","events_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/23/events","html_url":"https://github.com/petkivim/embed-google-map/issues/23","id":149401484,"number":23,"title":"scroll on the map","user":{"login":"MartinaUs","id":18549338,"avatar_url":"https://avatars.githubusercontent.com/u/18549338?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinaUs","html_url":"https://github.com/MartinaUs","followers_url":"https://api.github.com/users/MartinaUs/followers","following_url":"https://api.github.com/users/MartinaUs/following{/other_user}","gists_url":"https://api.github.com/users/MartinaUs/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinaUs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinaUs/subscriptions","organizations_url":"https://api.github.com/users/MartinaUs/orgs","repos_url":"https://api.github.com/users/MartinaUs/repos","events_url":"https://api.github.com/users/MartinaUs/events{/privacy}","received_events_url":"https://api.github.com/users/MartinaUs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-19T09:24:31Z","updated_at":"2016-04-19T15:49:09Z","closed_at":"2016-04-19T15:49:09Z","body":"Hi! \r\nI have read Your posts about switching off mousescrolling on embeded map... but I still can't make it on my website. I did everything  You advised,  but can't fix my problem. \r\n\r\nSo! When I added class .maps with css \".maps iframe{pointer-events: none;}\" my map became static. Then I added the code from Your's post to themeplate but my map stay static.... Help me, please, to find my mistakes... I, m a user... not a dev..\r\n\r\nThere are examples of my attempts to add JS between <head></head>)))\r\nFirst was:\r\n`\"<script type=\"text/javascript\">\r\n$('.maps').click(function () {\r\n   $('.maps iframe').css(\"pointer-events\", \"auto\");\r\n});\r\n\r\n$( \".maps\" ).mouseleave(function() {\r\n $('.maps iframe').css(\"pointer-events\", \"none\");\r\n});\r\n</script>\"`\r\n\r\nSecond ))):\r\n\"<script type=\"text/javascript\" src=\"<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/js/jquery-1.12.0.min.js\" />\r\n    <script type=\"text/javascript\">\r\n$('.maps').click(function () {\r\n   $('.maps iframe').css(\"pointer-events\", \"auto\");\r\n});\r\n\r\n$( \".maps\" ).mouseleave(function() {\r\n $('.maps iframe').css(\"pointer-events\", \"none\");\r\n});\r\n</script>\"\r\nAnd the last )\r\n<script type=\"text/javascript\" src=\"<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/js/jquery-1.12.0.min.js\">jQuery.noConflict();</script>\r\n    <script type=\"text/javascript\">\r\njQuery('.maps').click(function () {\r\n  jQuery('.maps iframe').css(\"pointer-events\", \"auto\");\r\n});\r\n\r\njQuery( \".maps\" ).mouseleave(function() {\r\njQuery('.maps iframe').css(\"pointer-events\", \"none\");\r\n});\r\n</script>"},"comment":{"url":"https://api.github.com/repos/petkivim/embed-google-map/issues/comments/211989117","html_url":"https://github.com/petkivim/embed-google-map/issues/23#issuecomment-211989117","issue_url":"https://api.github.com/repos/petkivim/embed-google-map/issues/23","id":211989117,"user":{"login":"MartinaUs","id":18549338,"avatar_url":"https://avatars.githubusercontent.com/u/18549338?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinaUs","html_url":"https://github.com/MartinaUs","followers_url":"https://api.github.com/users/MartinaUs/followers","following_url":"https://api.github.com/users/MartinaUs/following{/other_user}","gists_url":"https://api.github.com/users/MartinaUs/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinaUs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinaUs/subscriptions","organizations_url":"https://api.github.com/users/MartinaUs/orgs","repos_url":"https://api.github.com/users/MartinaUs/repos","events_url":"https://api.github.com/users/MartinaUs/events{/privacy}","received_events_url":"https://api.github.com/users/MartinaUs/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T15:49:09Z","updated_at":"2016-04-19T15:49:09Z","body":"Oh! That's awesome! It works!\r\nThank You, Petteri, soooo much!))))))))"}}