Merge "Remove { passive: true } from removeEventListener"

This commit is contained in:
jenkins-bot 2023-12-08 23:45:34 +00:00 committed by Gerrit Code Review
commit 62cab37f00

View file

@ -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' );
}