Open sidebar with location hash
This commit is contained in:
parent
f999f167b1
commit
76bc9fcddf
2 changed files with 11 additions and 15 deletions
|
@ -23,9 +23,9 @@ class Sidebar extends Class
|
|||
@original_set_site_info = @wrapper.setSiteInfo # We going to override this, save the original
|
||||
|
||||
# Start in opened state for debugging
|
||||
if false
|
||||
if window.top.location.hash == "#ZeroNet:OpenSidebar"
|
||||
@startDrag()
|
||||
@moved()
|
||||
@moved("x")
|
||||
@fixbutton_targetx = @fixbutton_initx - @width
|
||||
@stopDrag()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue