mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Remove #ca-edit from required skin elements on edit pages"
This commit is contained in:
commit
f6cea616ef
|
@ -1076,7 +1076,8 @@
|
|||
requiredSkinElements =
|
||||
$( '#content' ).length &&
|
||||
$( '#mw-content-text' ).length &&
|
||||
$( '#ca-edit' ).length;
|
||||
// A link to open the editor is technically not necessary if it's going to open itself
|
||||
( isEditPage || $( '#ca-edit' ).length );
|
||||
|
||||
if ( uri.query.action === 'edit' && $( '#wpTextbox1' ).length ) {
|
||||
initialWikitext = $( '#wpTextbox1' ).textSelection( 'getContents' );
|
||||
|
|
Loading…
Reference in a new issue