Skip to content

Commit

Permalink
fix jsonp callback
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 3, 2020
1 parent dac41df commit ab66932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/partials/ad.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="ea-wrapper"></div>
<script>
$.getJSON('https://server.ethicalads.io/api/v1/decision/?publisher=jsbin&ad_types=text-v1&format=jsonp&div_ids=jsbin', function (data) {
$.getJSON('https://server.ethicalads.io/api/v1/decision/?publisher=jsbin&ad_types=text-v1&format=jsonp&div_ids=jsbin&callback=?', function (data) {
$('#ea-wrapper').html(data);
});</script>
{{!--
Expand Down

0 comments on commit ab66932

Please sign in to comment.