mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-12 06:27:01 +00:00
CollabTarget: Set ve-activated on <html> instead of <body>
This is what our other targets do. Change-Id: I2ffbee8d74612d112509065b1e5e45ebc3487e6f
This commit is contained in:
parent
2fb7b81caf
commit
6d4caef304
|
@ -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' ) );
|
||||||
|
|
Loading…
Reference in a new issue