Merge "Fix closing the new topic tool hint"

This commit is contained in:
jenkins-bot 2021-12-29 16:51:56 +00:00 committed by Gerrit Code Review
commit d297faf9ff

View file

@ -172,7 +172,7 @@ NewTopicController.prototype.setupTopicHint = function () {
* Handle clicks on the close button for the hint dialog
*/
NewTopicController.prototype.onTopicHintCloseClick = function () {
this.toggle( false );
this.topicHint.toggle( false );
controller.getApi().saveOption( 'discussiontools-newtopictool-hint-shown', null ).then( function () {
mw.user.options.set( 'discussiontools-newtopictool-hint-shown', null );
} );