1
0
mirror of synced 2025-02-10 09:09:24 +03:00

Don't do a null check for tags

This closes https://github.com/select2/select2/issues/3155.
This commit is contained in:
Kevin Brown 2015-03-14 20:11:38 -04:00
parent e5d97e0de0
commit 5a25c33fc5
5 changed files with 5 additions and 5 deletions

View File

@ -4287,7 +4287,7 @@ S2.define('select2/defaults',[
); );
} }
if (options.tags != null) { if (options.tags) {
options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags);
} }

File diff suppressed because one or more lines are too long

2
dist/js/select2.js vendored
View File

@ -4287,7 +4287,7 @@ S2.define('select2/defaults',[
); );
} }
if (options.tags != null) { if (options.tags) {
options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags);
} }

File diff suppressed because one or more lines are too long

View File

@ -87,7 +87,7 @@ define([
); );
} }
if (options.tags != null) { if (options.tags) {
options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags);
} }