From 24c29e176e9de1254aa6d4947e48386e8bfe3d79 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 18 Dec 2014 23:04:41 +0800 Subject: [PATCH] . --- static/js/windows.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/js/windows.js b/static/js/windows.js index 84141bf..c84d5b5 100644 --- a/static/js/windows.js +++ b/static/js/windows.js @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ var windows = { isMaxEditor: false, @@ -74,10 +74,9 @@ var windows = { || $(event.target).closest(".bottom-window-group").length === 1 || $(event.target).closest(".toolbars").length === 1 || $(event.target).closest(".side").length === 1) { - return false; + } else { + windows.clearFloat(); } - - windows.clearFloat(); }); }, maxBottom: function () {