From 6d4caef304f38189fc1282aee8bde2e22287617d Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 25 Nov 2024 14:04:28 +0000 Subject: [PATCH] CollabTarget: Set ve-activated on instead of This is what our other targets do. Change-Id: I2ffbee8d74612d112509065b1e5e45ebc3487e6f --- modules/ve-mw-collab/ve.init.mw.CollabTarget.init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ve-mw-collab/ve.init.mw.CollabTarget.init.js b/modules/ve-mw-collab/ve.init.mw.CollabTarget.init.js index e2479dc44d..eb124ff63b 100644 --- a/modules/ve-mw-collab/ve.init.mw.CollabTarget.init.js +++ b/modules/ve-mw-collab/ve.init.mw.CollabTarget.init.js @@ -69,7 +69,7 @@ showForm( true ); } ); - $( 'body' ).addClass( 've-activated ve-active' ); + $( 'html' ).addClass( 've-activated ve-active' ); $targetContainer.prepend( target.$element ); @@ -219,7 +219,7 @@ target.restorePage(); target.destroy(); - $( 'body' ).removeClass( 've-activated ve-active' ); + $( 'html' ).removeClass( 've-activated ve-active' ); } setTitle( mw.msg( 'collabpad' ) );