Merge "When preventing switching modes, don't log a type-specific action"

This commit is contained in:
jenkins-bot 2020-09-18 13:55:38 +00:00 committed by Gerrit Code Review
commit 18f3cbfb04

View file

@ -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();