diff --git a/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js b/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js index 9cfec0cafd..b0dbef1bfa 100644 --- a/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js +++ b/modules/ve-mw/ui/tools/ve.ui.MWPopupTool.js @@ -78,6 +78,10 @@ ve.ui.MWNoticesPopupTool.prototype.setNotices = function ( notices ) { mw.language.convertNumber( count ) ) ); + if ( this.$items ) { + this.$items.remove(); + } + this.$items = $( '