Fix dropdown menus with Edge

pull/1/head
yflory 8 years ago
parent 4378df25b8
commit 9a733bb360

@ -318,7 +318,7 @@ define([
if (config.ifrw) { if (config.ifrw) {
var removeDropdowns = function (e) { var removeDropdowns = function (e) {
if (e.target.matches('.dropbtn') || (e.target.parentElement && e.target.parentElement.matches('.dropbtn'))) { if ($(e.target).parents('.cryptpad-dropdown-container').length) {
return; return;
} }
$container.find('.cryptpad-dropdown').hide(); $container.find('.cryptpad-dropdown').hide();

Loading…
Cancel
Save