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

16 lines
290 B
JavaScript
Raw Normal View History

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