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

16 lines
301 B
JavaScript
Raw Normal View History

( function () {
/**
* Creates a "read more" button with given text.
*
* @param {string} msg
* @return {jQuery}
*/
function newPageIssueLearnMoreLink( msg ) {
return $( '<span>' )
.addClass( 'ambox-learn-more' )
.text( msg );
}
module.exports = newPageIssueLearnMoreLink;
}() );