lib/jekyll-clicky/clicky.rb in jekyll-clicky-0.1.4 vs lib/jekyll-clicky/clicky.rb in jekyll-clicky-0.1.5
- old
+ new
@@ -29,10 +29,10 @@
@id = id
end
def code
<<-CODE
-<script type="text/javascript">
+<script>
var clicky_site_ids = clicky_site_ids || [];
clicky_site_ids.push(#{@id});
(function() {
var s = document.createElement('script');
s.type = 'text/javascript';