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 4: Line 4:


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

Revision as of 19:34, 5 October 2022

/* 
*  This is a sandbox.
*/

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