mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/page-issues/page/PageIssueLink.js

14 lines
332 B
JavaScript
Raw Normal View History

( function () {
/**
* Create a link element that opens the issues overlay.
*
* @param {string} labelText The text value of the element
* @return {jQuery}
*/
function newPageIssueLink( labelText ) {
return $( '<a>' ).addClass( 'cleanup mw-mf-cleanup' ).text( labelText );
}
module.exports = newPageIssueLink;
}() );