{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/pygal/issues/250","labels_url":"https://api.github.com/repos/Kozea/pygal/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/pygal/issues/250/comments","events_url":"https://api.github.com/repos/Kozea/pygal/issues/250/events","html_url":"https://github.com/Kozea/pygal/issues/250","id":98279194,"number":250,"title":"Problems with javascript/tooltips","user":{"login":"Resisty","id":5331616,"avatar_url":"https://avatars.githubusercontent.com/u/5331616?v=3","gravatar_id":"","url":"https://api.github.com/users/Resisty","html_url":"https://github.com/Resisty","followers_url":"https://api.github.com/users/Resisty/followers","following_url":"https://api.github.com/users/Resisty/following{/other_user}","gists_url":"https://api.github.com/users/Resisty/gists{/gist_id}","starred_url":"https://api.github.com/users/Resisty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Resisty/subscriptions","organizations_url":"https://api.github.com/users/Resisty/orgs","repos_url":"https://api.github.com/users/Resisty/repos","events_url":"https://api.github.com/users/Resisty/events{/privacy}","received_events_url":"https://api.github.com/users/Resisty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-07-30T22:37:14Z","updated_at":"2015-09-13T19:06:44Z","closed_at":null,"body":"Hello, I hope this is an easy question and that I'm just doing something wrong.\r\n\r\nI have Flask serving up dynamic svgs. The html uses AJAX to get the data and insert it directly into the DOM. I found that no matter what I tried, the javascript URLs for pygal (svg.jquery.js and pygal-tooltip.js) wouldn't respect parent page security so I've copied and hosted them on my server.\r\n\r\nThe SVG comes up fine, but tooltips don't work. Once the script loads, small white boxes appear but have no content. \r\n\r\nThe pertinent parts of the page:\r\n```\r\n...\r\n      <script type=\"text/javascript\" src=\"/js/svg.jquery.js\"></script>\r\n      <script type=\"text/javascript\" src=\"/js/pygal-tooltips.js\"></script>\r\n      <script type=\"text/javascript\" src=\"//rawgit.com/s3rvac/pygal-toggle-graphs/master/pygal-toggle-graphs.js\"></script>\r\n</head>\r\n    <body>\r\n      <div class='container'>\r\n        <div id='content'>\r\n          <h2 class=\"text-center\" id=\"title-announce\" title=\"psa\">\r\n          Work In Progress\r\n          </h2>\r\n          <div class=\"row\">\r\n              <div id='svg' class=\"col-md-9\">\r\n              <figure id='svg-fig'>\r\n              </figure>\r\n              </div>\r\n              <div id=\"reportrange\" class=\"col-md-3\" style=\"background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc\">\r\n                  <i class=\"glyphicon glyphicon-calendar fa fa-calendar\"></i>\r\n                  <span></span> <b class=\"caret\"></b>\r\n              </div>\r\n              <script>\r\n                $(function() {\r\n                    var data = $.post('/flasksvg, function(data) {\r\n                    $('#svg-fig').html(data);\r\n                    $.getScript('/js/svg.jquery.js');\r\n                    $.getScript('/js/pygal-tooltips.js');\r\n                    $.getScript('//rawgit.com/s3rvac/pygal-toggle-graphs/master/pygal-toggle-graphs.js');\r\n                    initPygalToggleGraphs();\r\n                    });\r\n                });\r\n              </script>\r\n          </div>\r\n```\r\n\r\nAny help would be greatly appreciated. Thanks!"},"comment":{"url":"https://api.github.com/repos/Kozea/pygal/issues/comments/139908686","html_url":"https://github.com/Kozea/pygal/issues/250#issuecomment-139908686","issue_url":"https://api.github.com/repos/Kozea/pygal/issues/250","id":139908686,"user":{"login":"kirill-krokodil","id":10287951,"avatar_url":"https://avatars.githubusercontent.com/u/10287951?v=3","gravatar_id":"","url":"https://api.github.com/users/kirill-krokodil","html_url":"https://github.com/kirill-krokodil","followers_url":"https://api.github.com/users/kirill-krokodil/followers","following_url":"https://api.github.com/users/kirill-krokodil/following{/other_user}","gists_url":"https://api.github.com/users/kirill-krokodil/gists{/gist_id}","starred_url":"https://api.github.com/users/kirill-krokodil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirill-krokodil/subscriptions","organizations_url":"https://api.github.com/users/kirill-krokodil/orgs","repos_url":"https://api.github.com/users/kirill-krokodil/repos","events_url":"https://api.github.com/users/kirill-krokodil/events{/privacy}","received_events_url":"https://api.github.com/users/kirill-krokodil/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T19:06:44Z","updated_at":"2015-09-13T19:06:44Z","body":"in pip i see 2.0.6 version as a newest, should i test it on newer version from repo?"}}