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 <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2018-08-15 14:21:47 -03:00 committed by Nick Clemens
parent ec257ca25b
commit 592905a4d2
1 changed files with 1 additions and 1 deletions

View 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());