diff --git a/modules/ve-mw/preinit/ve.init.mw.DesktopArticleTarget.init.js b/modules/ve-mw/preinit/ve.init.mw.DesktopArticleTarget.init.js index ea4048110c..31ef8ef2a6 100644 --- a/modules/ve-mw/preinit/ve.init.mw.DesktopArticleTarget.init.js +++ b/modules/ve-mw/preinit/ve.init.mw.DesktopArticleTarget.init.js @@ -132,7 +132,7 @@ function hideToolbarPlaceholder() { if ( $toolbarPlaceholder ) { - window.removeEventListener( 'scroll', onWindowScrollListener, { passive: true } ); + window.removeEventListener( 'scroll', onWindowScrollListener ); $toolbarPlaceholder.detach(); $toolbarPlaceholder.removeClass( 've-init-mw-desktopArticleTarget-toolbarPlaceholder-open' ); }