mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page (fixes #198)
This commit is contained in:
@@ -511,3 +511,13 @@ $(document).on("click", ".easy-link-copy-textbox", function()
|
||||
{
|
||||
$(this).select();
|
||||
});
|
||||
$('.dropdown-toggle').click(function ()
|
||||
{
|
||||
dropDownFixPosition($('button'), $('.dropdown-menu'));
|
||||
});
|
||||
function dropDownFixPosition(button, dropdown)
|
||||
{
|
||||
var dropDownTop = button.offset().top + button.outerHeight();
|
||||
dropdown.css('top', dropDownTop + "px");
|
||||
dropdown.css('left', button.offset().left + "px");
|
||||
}
|
||||
|
Reference in New Issue
Block a user