jenkins-bot has submitted this change and it was merged. Change subject: Follow-up I63ab27cb: Get rid of notices tool when there are no notices ......................................................................
Follow-up I63ab27cb: Get rid of notices tool when there are no notices Bug: T151423 Change-Id: I3dd9d2cbfb1fa536490eb8b4b7d630e9c6cfdd48 --- M modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jforrester: Looks good to me, but someone else must approve Esanders: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js b/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js index 7de42cd..6a63322 100644 --- a/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js +++ b/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js @@ -93,7 +93,7 @@ this.popup.$body.append( this.$items ); if ( !count ) { - this.$element = $( [] ); + this.destroy(); } }; -- To view, visit https://gerrit.wikimedia.org/r/323091 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3dd9d2cbfb1fa536490eb8b4b7d630e9c6cfdd48 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Alex Monk <a...@wikimedia.org> Gerrit-Reviewer: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: Tchanders <thalia.e.c...@googlemail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits