diff options
| author | denisx <[email protected]> | 2018-01-21 22:51:49 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-01-21 21:51:49 +0200 |
| commit | db70164d139c2cc331c671bec24547bd19bee8ac (patch) | |
| tree | 35a409a35838b5c75001c45a318ef0432c9919fa /js | |
| parent | bd9084d24900325b0559741c8c227cfdab2f22a0 (diff) | |
| download | bootstrap-db70164d139c2cc331c671bec24547bd19bee8ac.tar.xz bootstrap-db70164d139c2cc331c671bec24547bd19bee8ac.zip | |
ignore case (#25373)
Less on 2 symbols
Diffstat (limited to '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 4dde77048..6e32e955d 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() { |
