Skip to content

Commit 01b3900

Browse files
authored
Revert device type change. It causes more problem than what we gain (#273)
1 parent b597e76 commit 01b3900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/amplitude-client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,8 +1181,8 @@ AmplitudeClient.prototype._logEvent = function _logEvent(eventType, eventPropert
11811181

11821182
let osName = this._ua.browser.name;
11831183
let osVersion = this._ua.browser.major;
1184-
let deviceModel = this._ua.device.model;
1185-
let deviceManufacturer = this._ua.device.vendor;
1184+
let deviceModel = this._ua.os.name;
1185+
let deviceManufacturer;
11861186

11871187
let versionName;
11881188
let carrier;

0 commit comments

Comments
 (0)