Pass `mode` property to MobileWebMainMenuClickTracking schema
Changes: - pass the mode property instead of mobileMode - if mobileMode is undefined, pass 'desktop' Depends-On: Iedd26463128623e56b9a8612ccf2488739c854fa Bug: T193505 Change-Id: I6706546fc136779e3872ef9405ca6749b01cf751
This commit is contained in:
parent
8dfd431744
commit
a15119bdc1
|
@ -36,7 +36,7 @@ mw.loader.using( [
|
|||
* userEditCount is optional.
|
||||
*/
|
||||
{
|
||||
mobileMode: context.getMode(),
|
||||
mode: context.getMode() || 'desktop',
|
||||
username: user.getName() || undefined,
|
||||
// FIXME: Use edit bucket here (T210106)
|
||||
userEditCount: typeof editCount === 'number' ? editCount : undefined
|
||||
|
|
Loading…
Reference in New Issue