MediaWiki:Common.js: Difference between revisions

134 bytes added ,  15:16, 13 June 2021
no edit summary
No edit summary
No edit summary
Line 100: Line 100:
poemElement.text("");
poemElement.text("");
// 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: 3em;">' + i + '</p>' );
});
});
// Second measure
poemElement.children('p').each(function () {
    $(this).css('text-indent', '3em');
});
}
}
});
});