edit ditto.js

This commit is contained in:
ruanyf
2014-04-26 01:04:57 +08:00
parent 97bab3916e
commit 577841a430
+1 -1
View File
@@ -199,7 +199,7 @@ function router() {
var loading = show_loading();
$.get(path , function(data) {
$(ditto.error_id).hide();
$(ditto.content_id).html(marked(data)+disqusCode);
$(ditto.content_id).html(marked(data));
if ($(ditto.content_id+" h1").text() === ditto.document_title){
document.title = ditto.document_title;
} else {