Inserimenti nuovi device a inizio tabella

This commit is contained in:
loviuz 2020-08-08 13:31:51 +02:00
parent e173b53743
commit e29850751a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ function leggi_devices(interval){
row_id = 'mac_' + (result.records[i].mac).replace(/:/g, '_');
if( $('#devices-table > tbody').find('tr[data-id="' + row_id + '"]').length == 0 ){
$('#devices-table > tbody').append(
$('#devices-table > tbody').prepend(
'<tr data-id="' + row_id + '">' +
'<td></td>' +
'<td>' + device + '</td>' +