From 7b9811bd69e0e7b937a992bee74113c059fe44fb Mon Sep 17 00:00:00 2001 From: FabioL <1647128+loviuz@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:11:59 +0200 Subject: [PATCH] Fix visualizzazione info dispositivo --- log.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/log.php b/log.php index aa74c234c..cfc4b7492 100755 --- a/log.php +++ b/log.php @@ -107,9 +107,7 @@ $(document).ready(function() { parser.setUA(user_agent); device = parser.getResult(); - user_agent_cell.html('' + device.browser.name + ' ' + device.browser.version + ' | ' + device.os.name + ' ' + device.os.version); - - console.log(device); + user_agent_cell.html('' + (device.browser.name || '') + ' ' + (device.browser.version || '') + ' | ' + (device.os.name || '') + ' ' + (device.os.version || '')); } }) })