diff --git a/README.md b/README.md index 2068131..6b55da3 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,6 @@ Let's assume you want Isso on `/isso`, use the following nginx snippet ```nginx server { - listen [::]:80; listen [::]:443 ssl; server_name example.tld; @@ -126,7 +125,7 @@ when using [require.js][r.js]: ```html - + ``` @@ -140,7 +139,7 @@ Alternatives ------------ - [talkatv](https://github.com/talkatv/talkatv) – Python -- [Juvia](https://github.com/phusion/juvia – Ruby on Rails +- [Juvia](https://github.com/phusion/juvia) – Ruby on Rails - [Tildehash.com](http://www.tildehash.com/?article=why-im-reinventing-disqus) – PHP - [SO: Unobtrusive, self-hosted comments](http://stackoverflow.com/q/2053217) diff --git a/isso/js/app/count.js b/isso/js/app/count.js index 595c8c7..57d2ce1 100644 --- a/isso/js/app/count.js +++ b/isso/js/app/count.js @@ -6,8 +6,7 @@ define(["app/api", "lib/HTML"], function(api, HTML) { }; var uri = el.href.match("^(.+)#isso-thread$")[1] - .replace(/^.*\/\/[^\/]+/, ''); - console.log(uri) + .replace(/^.*\/\/[^\/]+/, ''); api.count(uri).then(function(rv) { el.textContent = rv + (rv > 1 ? " Kommentare" : " Kommentar"); })