From 69e367464fae0cbc7582ae6493eedb420764417a Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 18 Nov 2021 14:09:04 +0000 Subject: [PATCH] Add mw-show-empty-elt to MW surfaces Bug: T295984 Depends-On: Ife0e908edc12b2eb04c5f0b4def969ce843606a0 Change-Id: I49a2b5226a770334a05a51c8ea7b835c8c2c574f --- modules/ve-mw/ui/ve.ui.MWSurface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/ui/ve.ui.MWSurface.js b/modules/ve-mw/ui/ve.ui.MWSurface.js index 3aa9379573..43f7dff98c 100644 --- a/modules/ve-mw/ui/ve.ui.MWSurface.js +++ b/modules/ve-mw/ui/ve.ui.MWSurface.js @@ -23,7 +23,7 @@ ve.ui.MWSurface = function VeUiMWSurface() { this.onDocumentViewLangChange(); this.$element.addClass( 've-ui-mwSurface' ); // T164790 - this.getView().$attachedRootNode.addClass( 'mw-parser-output' ); + this.getView().$attachedRootNode.addClass( 'mw-parser-output mw-show-empty-elt' ); }; /* Inheritance */