Fixes #3400
This commit is contained in:
parent
2a5f46bcc4
commit
f6c455cea9
1 changed files with 1 additions and 1 deletions
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;
|
||||
|
||||
// Don't close if the control key is being held
|
||||
if (originalEvent && originalEvent.ctrlKey) {
|
||||
if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue