mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 10:58:20 +00:00
Merge "Log when the advanced mode panel is toggled"
This commit is contained in:
commit
aab80e8641
|
@ -277,6 +277,10 @@ ReplyWidget.prototype.saveEditMode = function ( mode ) {
|
|||
};
|
||||
|
||||
ReplyWidget.prototype.onAdvancedToggleClick = function () {
|
||||
mw.track( 'dt.schemaVisualEditorFeatureUse', {
|
||||
feature: 'dtReply',
|
||||
action: 'advanced-' + ( this.showAdvanced ? 'hide' : 'show' )
|
||||
} );
|
||||
this.toggleAdvanced();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue