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:
parent
97bab3916e
commit
577841a430
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user