From 0fa64ea94303d0004d0723baae5cb39f71af8972 Mon Sep 17 00:00:00 2001 From: "Florian Aders (EleRas)" Date: Thu, 23 Jun 2011 01:04:59 +0200 Subject: [PATCH] Fixed small bug in JS and navigation - element - template Signed-off-by: Florian Aders (EleRas) --- templates/Froxlor/js/froxlor.js | 1 + templates/Froxlor/navigation_element.tpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/Froxlor/js/froxlor.js b/templates/Froxlor/js/froxlor.js index 35516ddc..8e891e96 100644 --- a/templates/Froxlor/js/froxlor.js +++ b/templates/Froxlor/js/froxlor.js @@ -3,6 +3,7 @@ $(document).ready(function() { $("a[rel='external']").attr('target', '_blank'); $(".main").css('min-height', $("nav").height() - 34); $(".dboarditem:last").css('min-height', $(".dboarditem:first").height()); + $(".dboarditem:first").css('min-height', $(".dboarditem:last").height()); // set focus on username-field if on loginpage if ($(".loginpage").length != 0) { diff --git a/templates/Froxlor/navigation_element.tpl b/templates/Froxlor/navigation_element.tpl index d3159452..a3f5fd25 100644 --- a/templates/Froxlor/navigation_element.tpl +++ b/templates/Froxlor/navigation_element.tpl @@ -1,6 +1,6 @@