0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01: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

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() {