Disable Echo behaviour on Minerva desktop

Bug: T342907
Change-Id: Ibd311593eb7f153ff0dea8aad516759d54cc1cd2
This commit is contained in:
Jon Robson 2023-08-08 10:46:50 -07:00
parent 0974aebf1d
commit c50d129b02

View file

@ -311,6 +311,10 @@ $( function () {
if ( mw.config.get( 'wgMFMode' ) ) {
initMobile();
} else {
initDesktop();
// Echo is intentionally disable for the Minerva desktop skin (https://phabricator.wikimedia.org/T343839)
// The suggested fix is documented in https://phabricator.wikimedia.org/T343838,
if ( mw.config.get( 'skin' ) !== 'minerva' ) {
initDesktop();
}
}
} );