aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordenisx <[email protected]>2018-01-21 22:51:49 +0300
committerXhmikosR <[email protected]>2018-01-21 21:51:49 +0200
commitdb70164d139c2cc331c671bec24547bd19bee8ac (patch)
tree35a409a35838b5c75001c45a318ef0432c9919fa
parentbd9084d24900325b0559741c8c227cfdab2f22a0 (diff)
downloadbootstrap-db70164d139c2cc331c671bec24547bd19bee8ac.tar.xz
bootstrap-db70164d139c2cc331c671bec24547bd19bee8ac.zip
ignore case (#25373)
Less on 2 symbols
-rw-r--r--js/src/util.js2
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() {