mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 18:46:09 +00:00
web/device: add user agent
This commit is contained in:
parent
02437a686c
commit
4759f2037c
|
@ -21,6 +21,7 @@ const device = {
|
|||
mobile,
|
||||
},
|
||||
preferredLocale,
|
||||
userAgent: navigator.userAgent,
|
||||
}
|
||||
|
||||
const app = {
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
is.android: {device.is.android}
|
||||
is.mobile: {device.is.mobile}
|
||||
preferredLocale: {device.preferredLocale}
|
||||
userAgent: {device.userAgent}
|
||||
</div>
|
||||
|
||||
app:
|
||||
|
|
Loading…
Reference in a new issue