Sidebar close button for small screens
This commit is contained in:
parent
467cd480cf
commit
527c2b4f54
4 changed files with 21 additions and 2 deletions
|
@ -377,6 +377,12 @@ class Sidebar extends Class
|
|||
wrapper.ws.cmd "sitePublish", {"inner_path": inner_path, "sign": false}, =>
|
||||
@tag.find("#button-publish").removeClass "loading"
|
||||
|
||||
# Close
|
||||
@tag.find(".close").off("click touchend").on "click touchend", (e) =>
|
||||
@startDrag()
|
||||
@stopDrag()
|
||||
return false
|
||||
|
||||
@loadGlobe()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue