Fix dropdown menus with Edge

pull/1/head
yflory 2016-10-13 15:00:53 +02:00
parent 4378df25b8
commit 9a733bb360
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ define([
if (config.ifrw) {
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;
}
$container.find('.cryptpad-dropdown').hide();