mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 00:58:44 +00:00
Merge "Remove { passive: true } from removeEventListener"
This commit is contained in:
commit
62cab37f00
|
@ -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' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue