From: denisx Date: Sun, 21 Jan 2018 19:51:49 +0000 (+0300) Subject: ignore case (#25373) X-Git-Tag: v4.1.0~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db70164d139c2cc331c671bec24547bd19bee8ac;p=thirdparty%2Fbootstrap.git ignore case (#25373) Less on 2 symbols --- 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() {