We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de07ba2 commit 511c1b8Copy full SHA for 511c1b8
1 file changed
select2.js
@@ -1567,7 +1567,7 @@ the specific language governing permissions and limitations under the Apache Lic
1567
attrs = style.split(';');
1568
for (i = 0, l = attrs.length; i < l; i = i + 1) {
1569
matches = attrs[i].replace(/\s/g, '')
1570
- .match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/);
+ .match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i);
1571
if (matches !== null && matches.length >= 1)
1572
return matches[1];
1573
}
0 commit comments