Skip to content

Commit 1481b16

Browse files
committed
removes invokation
1 parent ca11be8 commit 1481b16

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99

10-
> Simple multi-select pure vanilla Javascript library. <a href="https://codepen.io/kleimaj/pen/mdEWVGb" target="\_blank">:rocket: Live Demo</a> **v1.0.6**
10+
> Simple multi-select pure vanilla Javascript library. <a href="https://codepen.io/kleimaj/pen/mdEWVGb" target="\_blank">:rocket: Live Demo</a> **v1.0.7**
1111
1212
multiSelect.js is a simple, pure vanilla Javascript library that's progressively designed for easy integration for any type of project or system. The design was heavily influenced by that of the Bootstrap and Semantic-UI multi-select elements.
1313

@@ -28,13 +28,13 @@ multiSelect.js is a simple, pure vanilla Javascript library that's progressively
2828
`CSS`
2929

3030
```html
31-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@kleimaj/[email protected].6/css/style.min.css">
31+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@kleimaj/[email protected].7/css/style.min.css">
3232
```
3333

3434
`JS`
3535

3636
```html
37-
<script src="https://cdn.jsdelivr.net/npm/@kleimaj/[email protected].6/js/multiselect.min.js"></script>
37+
<script src="https://cdn.jsdelivr.net/npm/@kleimaj/[email protected].7/js/multiselect.min.js"></script>
3838
```
3939

4040
```html
@@ -45,11 +45,11 @@ multiSelect.js is a simple, pure vanilla Javascript library that's progressively
4545
<option value="Peaches">Peaches</option>
4646
</select>
4747
```
48-
48+
<!--
4949
```javascript
5050
// invoke multiSelect()
5151
multiSelect();
52-
```
52+
``` -->
5353

5454
> It's essential that you name the class `multi` and set an initial option to `selected`, `disabled`, this will act as the placeholder value.
5555

js/multiselect.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const multiSelect = () => {
107107
})
108108
}
109109
// https://stackoverflow.com/questions/799981/document-ready-equivalent-without-jquery
110-
// document.addEventListener("DOMContentLoaded", function(event) {
111-
// //do work
112-
// multiSelect()
113-
// });
110+
document.addEventListener("DOMContentLoaded", function(event) {
111+
//do work
112+
multiSelect()
113+
});

js/multiselect.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kleimaj/multiselect.js",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Simple multi-select pure javascript library",
55
"main": "js/multiselect.min.js",
66
"scripts": {

0 commit comments

Comments
 (0)