Fixes #3400
This commit is contained in:
parent
2a5f46bcc4
commit
f6c455cea9
2
src/js/select2/dropdown/closeOnSelect.js
vendored
2
src/js/select2/dropdown/closeOnSelect.js
vendored
@ -21,7 +21,7 @@ define([
|
|||||||
var originalEvent = evt.originalEvent;
|
var originalEvent = evt.originalEvent;
|
||||||
|
|
||||||
// Don't close if the control key is being held
|
// Don't close if the control key is being held
|
||||||
if (originalEvent && originalEvent.ctrlKey) {
|
if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user