Skip to content

Commit

Permalink
release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smolenski-mikolaj committed Apr 19, 2022
1 parent 76d4e65 commit bc8de5a
Show file tree
Hide file tree
Showing 19 changed files with 112 additions and 1,298 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MDB5
Version: FREE 3.11.0
Version: FREE 4.0.0

Documentation:
https://mdbootstrap.com/docs/standard/
Expand Down
16 changes: 4 additions & 12 deletions css/mdb.dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/mdb.dark.min.css.map

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions css/mdb.dark.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/mdb.dark.rtl.min.css.map

Large diffs are not rendered by default.

18 changes: 5 additions & 13 deletions css/mdb.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/mdb.min.css.map

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions css/mdb.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/mdb.rtl.min.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/mdb.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/mdb.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdb-ui-kit",
"version": "3.11.0",
"version": "4.0.0",
"main": "js/mdb.min.js",
"homepage": "https://mdbootstrap.com/docs/standard/",
"repository": "https://github.com/mdbootstrap/mdb-ui-kit.git",
Expand Down
10 changes: 6 additions & 4 deletions src/js/bootstrap/mdb-prefix/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,12 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (
});

// avoid conflict when clicking moddal toggler while another one is open
const allReadyOpen = SelectorEngine.findOne(OPEN_SELECTOR);
if (allReadyOpen) {
Modal.getInstance(allReadyOpen).hide();
}
const allreadyOpenedModals = SelectorEngine.find(OPEN_SELECTOR);
allreadyOpenedModals.forEach((modal) => {
if (!modal.classList.contains('modal-non-invasive-show')) {
Modal.getInstance(modal).hide();
}
});

const data = Modal.getOrCreateInstance(target);

Expand Down
Loading

0 comments on commit bc8de5a

Please sign in to comment.