From 40cc0ff2805c5891c3d3c8512661ca3a8dcfcee0 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Fri, 5 Apr 2019 18:59:58 +0200 Subject: [PATCH] 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. --- public/js/grocy.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/public/js/grocy.js b/public/js/grocy.js index 0b264f29..4feabde9 100644 --- a/public/js/grocy.js +++ b/public/js/grocy.js @@ -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"); -}