Revert changes in file public/js/grocy.js of commit "Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page (fixes #198)"

This reverts changes in file public/js/grocy.js of commit 12082b52abe0c35e185dc18f80f3b4b90a1054e4.
This commit is contained in:
Bernd Bestel 2019-04-05 18:59:58 +02:00
parent 3a0bb913d5
commit 40cc0ff280
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -511,13 +511,3 @@ $(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");
}