Skip to content

Commit f94f61f

Browse files
authored
Fix for Firefox 55 and IE11
It seems the missing "event" reference in the onScroll cause issue on Firefox and IE11... This may be related to `webpack` or `laravel-mix` This anyway should fix eddiemf#3
1 parent 12f2312 commit f94f61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scrollactive.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
* the addition of the active class in the current section item
110110
* and fire the change event.
111111
*/
112-
onScroll() {
112+
onScroll(event) {
113113
let distanceFromTop = window.scrollY;
114114
let currentItem;
115115

0 commit comments

Comments
 (0)