CollabTarget: Set ve-activated on <html> instead of <body>

This is what our other targets do.

Change-Id: I2ffbee8d74612d112509065b1e5e45ebc3487e6f
This commit is contained in:
Ed Sanders 2024-11-25 14:04:28 +00:00 committed by Esanders
parent 2fb7b81caf
commit 6d4caef304

View file

@ -69,7 +69,7 @@
showForm( true ); showForm( true );
} ); } );
$( 'body' ).addClass( 've-activated ve-active' ); $( 'html' ).addClass( 've-activated ve-active' );
$targetContainer.prepend( target.$element ); $targetContainer.prepend( target.$element );
@ -219,7 +219,7 @@
target.restorePage(); target.restorePage();
target.destroy(); target.destroy();
$( 'body' ).removeClass( 've-activated ve-active' ); $( 'html' ).removeClass( 've-activated ve-active' );
} }
setTitle( mw.msg( 'collabpad' ) ); setTitle( mw.msg( 'collabpad' ) );