mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 10:11:45 +00:00
When preventing switching modes, don't log a type-specific action
Just log dialog-prevent-show. Bug: T259673 Change-Id: I336ad745a3bd92b9a5d40fc0962be2084a6cc589
This commit is contained in:
parent
636ca06e7e
commit
b988eca191
|
@ -450,7 +450,7 @@ CommentController.prototype.switchToVisual = function () {
|
|||
);
|
||||
mw.track( 'dt.schemaVisualEditorFeatureUse', {
|
||||
feature: 'editor-switch',
|
||||
action: 'dialog-prevent-' + type + '-show'
|
||||
action: 'dialog-prevent-show'
|
||||
} );
|
||||
|
||||
return $.Deferred().reject().promise();
|
||||
|
|
Loading…
Reference in a new issue