Loosen the edit link selector specificity in setupMultiTabs()

This allows VE to support even more skins with minimal or no changes to the skins themselves.

Partially reverts 75ff121b29.

Change-Id: I7536610459b7401015d4a033cc516c5d9a0ca5f1
(cherry picked from commit eb71d7710a)
This commit is contained in:
Jack Phoenix 2023-02-07 20:27:03 +00:00
parent bf604d8cfc
commit 57a9fd7bd7

View file

@ -911,9 +911,9 @@
pTabsId = isMinerva ? 'page-actions' :
$( '#p-views' ).length ? 'p-views' : 'p-cactions',
// Minerva puts the '#ca-...' ids on <a> nodes
$caSource = $( 'li#ca-viewsource' ),
$caEdit = $( 'li#ca-edit, li#page-actions-edit' ),
$caVeEdit = $( 'li#ca-ve-edit' ),
$caSource = $( '#ca-viewsource' ),
$caEdit = $( '#ca-edit, li#page-actions-edit' ),
$caVeEdit = $( '#ca-ve-edit' ),
$caEditLink = $caEdit.find( 'a' ),
$caVeEditLink = $caVeEdit.find( 'a' ),
caVeEditNextnode =