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>
(cherry picked from commit 592905a4d2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 514939a804)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2018-08-15 14:21:47 -03:00 committed by Fridolin Somers
parent 06a44d405d
commit ac56eda00a
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());