1
0
mirror of synced 2024-11-25 14:26:03 +03:00

Merge pull request #1819 from jrlynchii/master

Modified syncCssClasses to use output of adapter when applying classes.
This commit is contained in:
Igor Vaynberg 2013-10-20 19:22:24 -07:00
commit f8de47481f

View File

@ -349,7 +349,7 @@ the specific language governing permissions and limitations under the Apache Lic
if (this.indexOf("select2-") !== 0) { if (this.indexOf("select2-") !== 0) {
adapted = adapter(this); adapted = adapter(this);
if (adapted) { if (adapted) {
replacements.push(this); replacements.push(adapted);
} }
} }
}); });