mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
edit document title
This commit is contained in:
parent
d01d783cf9
commit
1d6281feb1
@ -189,7 +189,7 @@ function router() {
|
||||
if ($(ditto.content_id+" h1").text() === ditto.document_title){
|
||||
document.title = ditto.document_title;
|
||||
} else {
|
||||
document.title = $(ditto.content_id h1).text() + " - " + ditto.document_title;
|
||||
document.title = $(ditto.content_id+" h1").text() + " - " + ditto.document_title;
|
||||
}
|
||||
normalize_paths();
|
||||
create_page_anchors();
|
||||
|
Loading…
x
Reference in New Issue
Block a user