1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit ditto.js

This commit is contained in:
ruanyf 2014-04-26 01:04:57 +08:00
parent 97bab3916e
commit 577841a430

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 {