FIX: Extra & character

This commit is contained in:
Robin Ward 2014-04-14 11:44:35 -04:00
parent d5befc294c
commit 8b7212f3d6

View file

@ -41,7 +41,7 @@
if (countFor.length > 0) {
// Send JSONP request for the counts
var d = document.createElement('script');
d.src = discourseUrl + "embed/count?callback=discourseUpdateCounts&";
d.src = discourseUrl + "embed/count?callback=discourseUpdateCounts";
for (var j=0; j<countFor.length; j++) {
d.src += "&" + "embed_url[]=" + encodeURIComponent(countFor[j]);