MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 120: Line 120:
function appendIndent(i){
function appendIndent(i){
poemElement.append( '<p style="text-indent: 2em;">' + i + '</p>' );
return poemElement.append( '<p style="text-indent: 2em;">' + i + '</p>' );
}
}
function appendCssIndent(i){
function appendCssIndent(i){
$(this).css('text-indent', '2em');
return $(this).css('text-indent', '2em');
}
}
});
});