diff options
author | denisx <github@denisx.ru> | 2018-01-21 22:51:49 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-01-21 22:51:49 +0300 |
commit | db70164d139c2cc331c671bec24547bd19bee8ac (patch) | |
tree | 35a409a35838b5c75001c45a318ef0432c9919fa /js/src/util.js | |
parent | bd9084d24900325b0559741c8c227cfdab2f22a0 (diff) |
ignore case (#25373)
Less on 2 symbols
Diffstat (limited to 'js/src/util.js')
-rw-r--r-- | js/src/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/util.js b/js/src/util.js index 4dde77048f..6e32e955d0 100644 --- a/js/src/util.js +++ b/js/src/util.js @@ -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() { |