Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/40ca313f-3f17-4f62-8f05-ba72540a8d30 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
11 lines
No EOL
421 B
JavaScript
11 lines
No EOL
421 B
JavaScript
jQuery(function($){
|
|
$( "table.center:nth-child(3) > tbody > tr > td:nth-child(1)" ).each(function( index ) {
|
|
$( this ).find( "a" ).addClass('mini-btn'); //gives button look
|
|
$( this ).find( "br" ).remove();
|
|
$( this ).find( "a:eq(1)" ).addClass('red-btn'); //gives red color to buttons
|
|
});
|
|
|
|
$('.mini-btn').each(function() {
|
|
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
|
});
|
|
}) |