Open console with #ZeroNet:Console hash in url
This commit is contained in:
parent
15fca6bd12
commit
fe432ad843
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ class Console extends Class
|
|||
else
|
||||
handleMessageWebsocket_original(message)
|
||||
|
||||
if window.top.location.hash == "#console"
|
||||
$(window).on "hashchange", =>
|
||||
if window.top.location.hash == "#ZeroNet:Console"
|
||||
@open()
|
||||
|
||||
if window.top.location.hash == "#ZeroNet:Console"
|
||||
setTimeout (=> @open()), 10
|
||||
|
||||
createHtmltag: ->
|
||||
|
|
Loading…
Reference in a new issue