From 905095317c8f26f899f3ed38de72e4b0a33d80a4 Mon Sep 17 00:00:00 2001
From: Ivanq <imachug@yandex.ru>
Date: Sat, 30 Dec 2017 21:46:53 +0300
Subject: [PATCH] Update all.js

---
 plugins/Sidebar/media/all.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/Sidebar/media/all.js b/plugins/Sidebar/media/all.js
index f7b1c33e..f4b19251 100644
--- a/plugins/Sidebar/media/all.js
+++ b/plugins/Sidebar/media/all.js
@@ -699,12 +699,13 @@ window.initScrollable = function () {
           var inner_path;
           inner_path = _this.tag.find("#input-contents").val();
           _this.tag.find("#button-publish").addClass("loading");
-          return wrapper.ws.cmd("sitePublish", {
+          wrapper.ws.cmd("sitePublish", {
             "inner_path": inner_path,
             "sign": false
           }, function() {
             return _this.tag.find("#button-publish").removeClass("loading");
           });
+          return false;
         };
       })(this));
       this.tag.find(".close").off("click touchend").on("click touchend", (function(_this) {