diff --git a/modules/ui/mw.echo.ui.BundleNotificationItemWidget.js b/modules/ui/mw.echo.ui.BundleNotificationItemWidget.js index aa98aa439..2f2d99370 100644 --- a/modules/ui/mw.echo.ui.BundleNotificationItemWidget.js +++ b/modules/ui/mw.echo.ui.BundleNotificationItemWidget.js @@ -21,9 +21,6 @@ // Parent constructor mw.echo.ui.BundleNotificationItemWidget.parent.call( this, controller, model, config ); - this.controller = controller; - this.model = model; - this.toggleMarkAsReadButtons( true ); this.listWidget = new mw.echo.ui.SortedListWidget( diff --git a/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js b/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js index 1da687869..58ac8aca1 100644 --- a/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js +++ b/modules/ui/mw.echo.ui.CrossWikiNotificationItemWidget.js @@ -28,9 +28,6 @@ // Mixin constructors OO.ui.mixin.PendingElement.call( this, config ); - this.controller = controller; - this.model = model; - // In cross-wiki groups we only have 'mark as read' this.toggleMarkAsReadButtons( true );