Skip to content

Commit 4c1af6d

Browse files
author
Grzegorz Bujański
committed
release 3.1.0
1 parent f0528ac commit 4c1af6d

File tree

95 files changed

+8404
-318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+8404
-318
lines changed

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MDB5
2-
Version: FREE 3.0.0
2+
Version: FREE 3.1.0
33

44
Documentation:
55
https://mdbootstrap.com/docs/standard/

css/mdb.min.css

Lines changed: 18 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/mdb.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/mdb.rtl.min.css

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/mdb.rtl.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 14 additions & 158 deletions
Large diffs are not rendered by default.

js/mdb.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/mdb.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdb-ui-kit",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"main": "js/mdb.min.js",
55
"repository": "https://github.com/mdbootstrap/mdb-ui-kit.git",
66
"author": "MDBootstrap",

src/js/free/input.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class Input {
6767
if (this._initiated) {
6868
return;
6969
}
70-
7170
this._getLabelData();
7271
this._applyDivs();
7372
this._applyNotch();
@@ -164,12 +163,14 @@ class Input {
164163
}
165164

166165
_activate(event) {
167-
this._getElements(event);
168-
const input = event ? event.target : this.input;
166+
onDOMContentLoaded(() => {
167+
this._getElements(event);
168+
const input = event ? event.target : this.input;
169169

170-
if (input.value !== '') {
171-
Manipulator.addClass(input, CLASSNAME_ACTIVE);
172-
}
170+
if (input.value !== '') {
171+
Manipulator.addClass(input, CLASSNAME_ACTIVE);
172+
}
173+
});
173174
}
174175

175176
_getElements(event) {

0 commit comments

Comments
 (0)