From fbdeab4f199734cc54fe47e79aa2ccf59bab93ac Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Aug 2018 14:21:47 -0300 Subject: [PATCH] Bug 21139: (follow-up) Floating toolbars - Remove unecessary height Found where QAing bug 20935, we actually want the hidden toolbar to be the exact same height as the visible one. Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js index c0df4ea6ab..330c758385 100644 --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js +++ b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js @@ -28,7 +28,7 @@ "visibility": "hidden" }); tbhBis.width(tbh.innerWidth(true)); - tbhBis.height(tbh.innerHeight(true)); + tbhBis.height(tbh.height()); tbhBis.attr('id', tbh.attr('id')+'Bis'); // Avoid 2 elts with the same id tbh.after(tbhBis); tbh.width(tbh.width()); -- 2.11.0