mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-11 17:02:28 +00:00
highlighter: Fix double-escaping of popup notifications
Bug: T323351 Change-Id: Iaa69ccd944114f2a7ff88e01b6e58d70d38cac89
This commit is contained in:
parent
06aa46df34
commit
86ffa41af7
|
@ -177,7 +177,7 @@ function highlightTargetComment( threadItemSet, noScroll ) {
|
|||
if ( location.hash.match( /^#c-/ ) && !targetElement ) {
|
||||
missingTargetNotifPromise = mw.loader.using( 'mediawiki.notification' ).then( function () {
|
||||
return mw.notification.notify(
|
||||
mw.message( 'discussiontools-target-comment-missing' ).parse(),
|
||||
mw.message( 'discussiontools-target-comment-missing' ).text(),
|
||||
{ type: 'warn', autoHide: false }
|
||||
);
|
||||
} );
|
||||
|
@ -334,7 +334,7 @@ function highlightNewComments( threadItemSet, noScroll, newCommentIds, newCommen
|
|||
highlightsRequestedSingle ?
|
||||
'discussiontools-target-comment-missing' :
|
||||
'discussiontools-target-comments-missing'
|
||||
).parse(),
|
||||
).text(),
|
||||
{ type: 'warn', autoHide: false }
|
||||
);
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue