follow up to r106094
This commit is contained in:
parent
37988ed5c3
commit
fd70e68a2e
1 changed files with 4 additions and 2 deletions
|
|
@ -97,8 +97,10 @@ class VectorTemplate extends BaseTemplate {
|
|||
unset( $nav[$section][$key]['class'] );
|
||||
}
|
||||
if ( isset( $link['tooltiponly'] ) && $link['tooltiponly'] ) {
|
||||
$nav[$section][$key]['key'] =
|
||||
Linker::titleAttrib( $xmlID );
|
||||
$tooltip = Linker::titleAttrib( $xmlID );
|
||||
$tooltip = $tooltip === false ? '' : Xml::expandAttributes( array( 'title' => $tooltip ) );
|
||||
$nav[$section][$key]['key'] = $tooltip;
|
||||
|
||||
} else {
|
||||
$nav[$section][$key]['key'] =
|
||||
Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( $xmlID ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue