Fix Bug 37263.

This commit is contained in:
Julia Radzhabova 2018-03-20 18:43:59 +03:00
parent 38ac8db56f
commit e86454d8d6
3 changed files with 3 additions and 3 deletions

View file

@ -210,7 +210,7 @@ define([
me.dontCloseDummyComment = true;
else if (/chat-msg-text/.test(e.target.id))
me.dontCloseChat = true;
else if (/form-control/.test(e.target.className))
else if (!me.isModalShowed && /form-control/.test(e.target.className))
me.inFormControl = true;
}
});

View file

@ -191,7 +191,7 @@ define([
me.dontCloseDummyComment = true;
else if (/chat-msg-text/.test(e.target.id))
me.dontCloseChat = true;
else if (/form-control/.test(e.target.className))
else if (!me.isModalShowed && /form-control/.test(e.target.className))
me.inFormControl = true;
}
});

View file

@ -197,7 +197,7 @@ define([
me.dontCloseDummyComment = true;
else if (/chat-msg-text/.test(e.target.id))
me.dontCloseChat = true;
else if (/form-control/.test(e.target.className))
else if (!me.isModalShowed && /form-control/.test(e.target.className))
me.inFormControl = true;
}
});