mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 10:58:20 +00:00
Merge "Use new stable API for subtitle modification"
This commit is contained in:
commit
459554b18c
|
@ -457,8 +457,8 @@ function init( $container, state ) {
|
|||
function updatePageContents( $container, data ) {
|
||||
$container.find( '.mw-parser-output' ).first().replaceWith( data.parse.text );
|
||||
|
||||
// eslint-disable-next-line no-jquery/no-global-selector
|
||||
$( '#contentSub, .minerva__subtitle' ).html( data.parse.subtitle );
|
||||
mw.util.clearSubtitle();
|
||||
mw.util.addSubtitle( data.parse.subtitle );
|
||||
|
||||
// eslint-disable-next-line no-jquery/no-global-selector
|
||||
if ( $( '#catlinks' ).length ) {
|
||||
|
|
Loading…
Reference in a new issue