mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-23 18:38:18 +00:00
Merge "Fix closing the new topic tool hint"
This commit is contained in:
commit
d297faf9ff
|
@ -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 );
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue