Skip to content

Commit db70164

Browse files
denisxXhmikosR
authored andcommitted
ignore case (#25373)
Less on 2 symbols
1 parent bd9084d commit db70164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Util = (($) => {
2020

2121
// Shoutout AngusCroll (https://goo.gl/pxwQGp)
2222
function toType(obj) {
23-
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase()
23+
return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase()
2424
}
2525

2626
function getSpecialTransitionEndEvent() {

0 commit comments

Comments
 (0)