1
0
mirror of synced 2024-11-25 06:16:08 +03:00

Do not close on select if Ctrl or Meta (Cmd) keys are being held as described in #3400 (#5222)

Fixes #3400
This commit is contained in:
Carlos Abalde 2019-05-01 05:29:11 +02:00 committed by Kevin Brown
parent 2a5f46bcc4
commit f6c455cea9

View File

@ -21,7 +21,7 @@ define([
var originalEvent = evt.originalEvent;
// Don't close if the control key is being held
if (originalEvent && originalEvent.ctrlKey) {
if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) {
return;
}