Bug 21139: (follow-up) Floating toolbars - Remove unecessary height
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 15 Aug 2018 17:21:47 +0000 (14:21 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 Aug 2018 13:40:36 +0000 (13:40 +0000)
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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js

index c0df4ea..330c758 100644 (file)
@@ -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());