Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed script tag in document.write. Thanks to shammond42 for the tip.

  • Loading branch information...
commit 08aeea9cd42690e3104984cab03f6d3a0ed1803b 1 parent 7d27ead
Norman Clarke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/disqus/widget.rb
View
2  lib/disqus/widget.rb
@@ -66,7 +66,7 @@ def comment_counts(opts = {})
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
- document.write('<script type="text/javascript" src="#{ROOT_PATH}get_num_replies.js' + query + '"></' + 'script>');
+ document.write('<' + 'script type="text/javascript" src="#{ROOT_PATH}get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>
Please sign in to comment.
Something went wrong with that request. Please try again.