MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
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: | 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', ' | $(this).css('text-indent', '2em'); | ||
}); | }); | ||
} | } |