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"); -}