Merge pull request #6949 from MrPetovan/bug/6947-frio-fix-fake-form
[frio] Switch comment box closing event listener from click to mousedown
This commit is contained in:
commit
1c2a77c47f
|
@ -282,7 +282,7 @@ $(document).ready(function(){
|
||||||
* We are making an exception for buttons because of a race condition with the
|
* We are making an exception for buttons because of a race condition with the
|
||||||
* comment opening button that results in an already closed comment UI.
|
* comment opening button that results in an already closed comment UI.
|
||||||
*/
|
*/
|
||||||
$(document).on('click', function(event) {
|
$(document).on('mousedown', function(event) {
|
||||||
if (event.target.type === 'button') {
|
if (event.target.type === 'button') {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue