MediaWiki:Common.js: Difference between revisions

No change in size ,  16:00, 13 June 2021
no edit summary
No edit summary
No edit summary
Line 102: Line 102:
// First measure
// First measure
poemArray.forEach( function(i) {
poemArray.forEach( function(i) {
poemElement.append( '<p style="text-indent: 3em;">' + i + '</p>' );
poemElement.append( '<p style="text-indent: 2em;">' + i + '</p>' );
});
});
// Second measure
// Second measure
poemElement.children('p').each(function () {
poemElement.children('p').each(function () {
    $(this).css('text-indent', '3em');
    $(this).css('text-indent', '2em');
});
});
}
}