Fix undefined in title
This commit is contained in:
parent
5414691f1f
commit
7f46767411
1 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ class Wrapper
|
|||
if res == "ok"
|
||||
@notifications.add("size_limit", "done", "Site storage limit modified!", 5000)
|
||||
|
||||
if site_info.content
|
||||
if site_info.content?.title?
|
||||
window.document.title = site_info.content.title + " - ZeroNet"
|
||||
@log "Setting title to", window.document.title
|
||||
|
||||
|
|
Loading…
Reference in a new issue