From ab8f07d86938b8348c84e1891a5f11ae9cb7f4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 24 Apr 2014 11:11:36 +0200 Subject: [PATCH] Resize navigation tree just on page load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- js/navigation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/navigation.js b/js/navigation.js index 9d0f8e6635..f1538b0800 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -912,6 +912,7 @@ var ResizeHandler = function () { // need to call this now and then, browser might decide // to show/hide horizontal scrollbars depending on page content width setInterval(this.treeResize, 2000); + this.treeResize(); }; // End of ResizeHandler /**