Skip to content

Commit c3d39a8

Browse files
committed
remove unused event argument from listener callback
1 parent c9de64f commit c3d39a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/vue/source/js/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
window.addEventListener('scroll', updateSidebar)
135135
window.addEventListener('resize', updateSidebar)
136136

137-
function updateSidebar (event) {
137+
function updateSidebar () {
138138
var doc = document.documentElement
139139
var top = doc && doc.scrollTop || document.body.scrollTop
140140
if (animating || !allHeaders) return

0 commit comments

Comments
 (0)