fixed jQuery dprecations

This commit is contained in:
Micha
2025-03-03 12:43:56 +01:00
parent d0d10a7e90
commit 30f1b9a6a9
15 changed files with 38 additions and 38 deletions

View File

@@ -98,7 +98,7 @@ $(function(){
if(!options.select2.tags && options.source) {
var source = options.source;
//if source is function, call it (once!)
if ($.isFunction(options.source)) {
if (typeof (options.source) === 'function') {
source = options.source.call(options.scope);
}