Add return false

This commit is contained in:
Ivanq 2017-12-30 21:45:55 +03:00
parent f9ac614147
commit d8ff0e1745

View file

@ -414,6 +414,7 @@ class Sidebar extends Class
@tag.find("#button-publish").addClass "loading"
wrapper.ws.cmd "sitePublish", {"inner_path": inner_path, "sign": false}, =>
@tag.find("#button-publish").removeClass "loading"
return false
# Close
@tag.find(".close").off("click touchend").on "click touchend", (e) =>