From 51f4b27c240182b40453f6c5173d03a547feeacf Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 11 May 2014 13:04:02 +0200 Subject: [PATCH] Prevent closing other dropdown menus --- public/js/vroom.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index 9910d3c..eab0806 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -464,7 +464,8 @@ function initVroom(room) { }); // Do not close the dropdown menu when filling the email recipient - $("#inviteDropdownContainer").on("click", "li", function(e){ + // and in other dropdown menus + $(".dropdown-menu").on("click", "li", function(e){ e.stopPropagation(); }); // Handle Email Invitation