MediaWiki:Sandbox.js: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
lastRow.find('td').last().attr('style', 'border-radius: 0 0 10px 0');
lastRow.find('td').last().attr('style', 'border-radius: 0 0 10px 0');
lastRow.find('th').first().attr('style', 'border-radius: 0 0 0 10px');
lastRow.find('th').first().attr('style', 'border-radius: 0 0 0 10px');
lastRow.append('</table>');
});
});

Revision as of 21:14, 5 October 2022

/* 
*  This is a sandbox.
*/

$(function() {  
	var lastRow = $('#tableDungeon tr').last();
	lastRow.find('td').last().attr('style', 'border-radius: 0 0 10px 0');
	lastRow.find('th').first().attr('style', 'border-radius: 0 0 0 10px');
});