mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
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 reverts75ff121b29
. Change-Id: I7536610459b7401015d4a033cc516c5d9a0ca5f1 (cherry picked from commiteb71d7710a
)
This commit is contained in:
parent
bf604d8cfc
commit
57a9fd7bd7
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue