Skip to content

Commit

Permalink
ignore case (#25373)
Browse files Browse the repository at this point in the history
Less on 2 symbols
  • Loading branch information
denisx authored and XhmikosR committed Jan 21, 2018
1 parent bd9084d commit db70164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Util = (($) => {

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

function getSpecialTransitionEndEvent() {
Expand Down

0 comments on commit db70164

Please sign in to comment.