mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-14 07:00:05 +00:00
2ee3e27406
This reverts commit 19ea6328b0
.
Reason for revert: Breaks page issues and image overlay. I
will break this up into smaller less risky patches.
Change-Id: If5b76245bf60bfa9cf977cdbf37ee0d6bb65f9d9
30 lines
699 B
JavaScript
30 lines
699 B
JavaScript
( function ( M ) {
|
|
var
|
|
mobile = M.require( 'mobile.startup' ),
|
|
mfExtend = mobile.mfExtend,
|
|
View = mobile.View;
|
|
|
|
/**
|
|
* IssueNotice
|
|
*
|
|
* @class IssueNotice
|
|
* @extends View
|
|
*
|
|
* @param {IssueSummary} props
|
|
*/
|
|
function IssueNotice( props ) {
|
|
View.call( this, props );
|
|
}
|
|
mfExtend( IssueNotice, View, {
|
|
tagName: 'li',
|
|
template: mw.template.get( 'skins.minerva.scripts', 'IssueNotice.mustache' ),
|
|
postRender: function () {
|
|
View.prototype.postRender.apply( this, arguments );
|
|
this.$el.find( '.issue-notice' ).prepend( this.options.issue.icon.$el );
|
|
}
|
|
} );
|
|
module.exports = IssueNotice;
|
|
|
|
// eslint-disable-next-line no-restricted-properties
|
|
}( mw.mobileFrontend ) );
|