From 56dbdedfb2da1b6e6d6cb80d5d91262b18a7e9c2 Mon Sep 17 00:00:00 2001 From: Jonathan Sadowski Date: Thu, 4 Mar 2021 17:06:59 -0600 Subject: [PATCH] Update select2.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility --- assets/js/select2/select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/select2/select2.js b/assets/js/select2/select2.js index e4e214893aa..b4500ad61a5 100644 --- a/assets/js/select2/select2.js +++ b/assets/js/select2/select2.js @@ -3547,7 +3547,7 @@ S2.define('select2/data/ajax',[ if (this._request != null) { // JSONP requests cannot always be aborted - if ($.isFunction(this._request.abort)) { + if ( typeof this._request.abort === 'function' ) { this._request.abort(); }