release 3.7.1

This commit is contained in:
Grzegorz 2021-05-31 12:25:13 +02:00
parent ff89bd3201
commit e4ec89db5c
7 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
MDB5
Version: FREE 3.7.0
Version: FREE 3.7.1
Documentation:
https://mdbootstrap.com/docs/standard/

2
css/mdb.min.css vendored
View File

@ -1,6 +1,6 @@
/*!
* MDB5
* Version: FREE 3.7.0
* Version: FREE 3.7.1
*
*
* Copyright: Material Design for Bootstrap

File diff suppressed because one or more lines are too long

4
js/mdb.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "mdb-ui-kit",
"version": "3.7.0",
"version": "3.7.1",
"main": "js/mdb.min.js",
"homepage": "https://mdbootstrap.com/docs/standard/",
"repository": "https://github.com/mdbootstrap/mdb-ui-kit.git",

View File

@ -46,9 +46,9 @@ const Manipulator = {
const attributes = {};
Object.keys(element.dataset)
.filter((key) => key.startsWith('bs'))
.filter((key) => key.startsWith('mdb'))
.forEach((key) => {
let pureKey = key.replace(/^bs/, '');
let pureKey = key.replace(/^mdb/, '');
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);
attributes[pureKey] = normalizeData(element.dataset[key]);
});