Skip to content

Commit 53d1fea

Browse files
committed
Modified syncCssClasses to use output of adapter when applying a class rather than applying the original class
1 parent 8647d51 commit 53d1fea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ the specific language governing permissions and limitations under the Apache Lic
349349
if (this.indexOf("select2-") !== 0) {
350350
adapted = adapter(this);
351351
if (adapted) {
352-
replacements.push(this);
352+
replacements.push(adapted);
353353
}
354354
}
355355
});

0 commit comments

Comments
 (0)