Bug 21139: Floating toolbar - Resize toolbar on window resize
Prior to this patch the toolbar was not resized when the window was resized Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
b5520f3e01
commit
5ecf4da7d4
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@
|
|||
tbh.removeClass("floating");
|
||||
}
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
var p = $(tbh).parents('div').first();
|
||||
$(tbh).width(p.width()-10);
|
||||
});
|
||||
}
|
||||
};
|
||||
})(jQuery, window);
|
||||
|
|
Loading…
Reference in a new issue