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
|
else
|
||||||
handleMessageWebsocket_original(message)
|
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
|
setTimeout (=> @open()), 10
|
||||||
|
|
||||||
createHtmltag: ->
|
createHtmltag: ->
|
||||||
|
|
Loading…
Reference in a new issue