{"action":"closed","issue":{"url":"https://api.github.com/repos/brcontainer/html2canvas-php-proxy/issues/15","repository_url":"https://api.github.com/repos/brcontainer/html2canvas-php-proxy","labels_url":"https://api.github.com/repos/brcontainer/html2canvas-php-proxy/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/brcontainer/html2canvas-php-proxy/issues/15/comments","events_url":"https://api.github.com/repos/brcontainer/html2canvas-php-proxy/issues/15/events","html_url":"https://github.com/brcontainer/html2canvas-php-proxy/issues/15","id":98020526,"number":15,"title":"Uncaught ReferenceError: html2canvas_X is not defined","user":{"login":"brds85","id":13561078,"avatar_url":"https://avatars.githubusercontent.com/u/13561078?v=3","gravatar_id":"","url":"https://api.github.com/users/brds85","html_url":"https://github.com/brds85","followers_url":"https://api.github.com/users/brds85/followers","following_url":"https://api.github.com/users/brds85/following{/other_user}","gists_url":"https://api.github.com/users/brds85/gists{/gist_id}","starred_url":"https://api.github.com/users/brds85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brds85/subscriptions","organizations_url":"https://api.github.com/users/brds85/orgs","repos_url":"https://api.github.com/users/brds85/repos","events_url":"https://api.github.com/users/brds85/events{/privacy}","received_events_url":"https://api.github.com/users/brds85/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brcontainer/html2canvas-php-proxy/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T20:14:58Z","updated_at":"2016-06-18T16:06:04Z","closed_at":"2016-06-18T16:06:04Z","body":"I have three different divs that i'm turning into images with id's of \"boxBanner\", \"skyscraperBanner\", and \"scoreboxBanner\".  When the user clicks a button, I'm running a function that does the following code for each of the three IDs:\r\n\r\nhtml2canvas($(\"#[DIV ID HERE]\"), {\r\n        proxy: \"./proxy.php\",\r\n        onrendered: function(canvas) {\r\n        var theCanvas = canvas;\r\n        $(\"#resultsArea\").append(canvas);\r\n        }\r\n});\r\n\r\nThis code will only render one of the three images.  In the console, I get an error stating \"Uncaught ReferenceError: html2canvas_0 is not defined\" with a 2 next two it, (one for each of the divs that isn't the first i'm assuming).  \r\n\r\nIs there a fix for this?"}}
{"actor":{"display_login":"brcontainer"}}