Browse Source

Merge pull request #10390 from abpframework/maliming-patch-select2

Check `$.fn.modal`.
pull/10391/head
liangshiwei 4 years ago
committed by GitHub
parent
commit
9bff560bf4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      npm/packs/select2/src/select2-bootstrap-modal-patch.js

4
npm/packs/select2/src/select2-bootstrap-modal-patch.js

@ -1,4 +1,6 @@
/*
https://select2.org/troubleshooting/common-problems
*/
$.fn.modal.Constructor.prototype._enforceFocus = function () { };
if ($.fn.modal) {
$.fn.modal.Constructor.prototype._enforceFocus = function () { };
}

Loading…
Cancel
Save