Should prevent default since it is handled
This commit is contained in:
parent
18770d4b0d
commit
d8736696db
@ -32,10 +32,12 @@
|
||||
|
||||
if ( no && code == 27 )
|
||||
{
|
||||
e.preventDefault();
|
||||
_no.click();
|
||||
}
|
||||
else if( code == 13 && ( e.ctrlKey || e.altKey ) )
|
||||
{
|
||||
e.preventDefault();
|
||||
_yes.click();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user