From 4c92a7d1b575289fc09f01021426b146d3fbc5bc Mon Sep 17 00:00:00 2001 From: Van Date: Wed, 24 Sep 2014 16:42:17 +0800 Subject: [PATCH] fullscreen --- static/js/wide.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/wide.js b/static/js/wide.js index a6a8974..665740c 100644 --- a/static/js/wide.js +++ b/static/js/wide.js @@ -302,11 +302,15 @@ var wide = { if ($it.hasClass("bottom-window-group-fullscreen")) { $(".bottom-window-group").removeClass("bottom-window-group-fullscreen"); + var bottomH = $(".bottom-window-group").height(); + + $(".bottom-window-group .output, notification").height(bottomH - 23); + $(".bottom-window-group .notification, .bottom-window-group .search").height(bottomH - 20); } else { var bottomH = $(".content, .ztree").height(); $(".bottom-window-group .output, notification").height(bottomH - 22); $(".bottom-window-group .notification, .bottom-window-group .search").height(bottomH - 19); - + $(".bottom-window-group").addClass("bottom-window-group-fullscreen"); } });