1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-29 05:42:20 +00:00

edit ditto.js

This commit is contained in:
ruanyf 2014-04-26 00:37:22 +08:00
parent 60515f55a0
commit 398cb8015f

View File

@ -195,9 +195,9 @@ function router() {
path = path + ".md"; path = path + ".md";
} }
disqus_identifier = location.hash; disqus_identifier = path;
disqus_title = $(ditto.content_id+" h1").text(); disqus_title = $(ditto.content_id+" h1").text();
disqus_url = location.href+'?location='+path; disqus_url = path;
// otherwise get the markdown and render it // otherwise get the markdown and render it
var loading = show_loading(); var loading = show_loading();