mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-14 16:36:51 +01:00
Fix visualizzazione info dispositivo
This commit is contained in:
parent
450633b863
commit
7b9811bd69
4
log.php
4
log.php
@ -107,9 +107,7 @@ $(document).ready(function() {
|
||||
parser.setUA(user_agent);
|
||||
device = parser.getResult();
|
||||
|
||||
user_agent_cell.html('<strong>' + device.browser.name + '</strong> ' + device.browser.version + ' | <strong>' + device.os.name + '</strong> ' + device.os.version);
|
||||
|
||||
console.log(device);
|
||||
user_agent_cell.html('<strong>' + (device.browser.name || '') + '</strong> ' + (device.browser.version || '') + ' | <strong>' + (device.os.name || '') + '</strong> ' + (device.os.version || ''));
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user