1
0
mirror of https://github.com/loviuz/wifi-probe-aggregator.git synced 2024-12-28 08:01:01 +01:00

Inserimenti nuovi device a inizio tabella

This commit is contained in:
loviuz 2020-08-08 13:31:51 +02:00
parent e173b53743
commit e29850751a

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>' +