mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +00:00
Merge "Make category links arrow link to actual categories"
This commit is contained in:
commit
5ba10fcef7
|
@ -372,6 +372,7 @@ class CategoryTree {
|
|||
// href and role will be added client-side
|
||||
'class' => 'CategoryTreeToggle',
|
||||
'data-ct-title' => $key,
|
||||
'href' => $title->getLocalURL(),
|
||||
];
|
||||
|
||||
if ( $children === 0 ) {
|
||||
|
|
|
@ -90,7 +90,6 @@
|
|||
$content.find( '.CategoryTreeToggle' )
|
||||
.on( 'click', handleNode )
|
||||
.attr( {
|
||||
href: '#',
|
||||
role: 'button',
|
||||
title: function () {
|
||||
return mw.msg(
|
||||
|
|
Loading…
Reference in a new issue