2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

ignore case (#25373)

Less on 2 symbols
This commit is contained in:
denisx
2018-01-21 22:51:49 +03:00
committed by XhmikosR
parent bd9084d249
commit db70164d13
+1 -1
View File
@@ -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() {