8000 Update README.md · bitnulleins/scrollEvent.js@2951fd4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2951fd4

Browse files
authored
Update README.md
1 parent 57208af commit 2951fd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Key-features are:
1818
# General use
1919
1. First add the library to the header:
2020
```html
21-
<script type="text/javascript" src="./local/path/to/scrollEvent.min.js"></script>
21+
<script src="./local/path/to/scrollEvent.min.js"></script>
2222
```
2323
With external hosted file:
2424
```html
25-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/scrollEvent.js/1.0.1/scrollEvent.min.js"></script>
25+
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollEvent.js/1.0.1/scrollEvent.min.js"></script>
2626
```
2727
2. Now add ScrollEvent listener to an element:
2828

0 commit comments

Comments
 (0)
0