From 64ce195faeb659888321b7562e5c54163951bf24 Mon Sep 17 00:00:00 2001 From: Catrope Date: Wed, 26 Nov 2014 01:55:30 +0000 Subject: [PATCH] Revert "ve.init.mw.trackSubscriber: Populate platform field with hack" Caused JS errors when invoked too early. This reverts commit 35d38985439dddf54b5001d569e82c9d719e7c6a. Change-Id: Ie7dd4ef8323a16bb694e6300a096ba53cf4a0a91 --- modules/ve-mw/init/ve.init.mw.trackSubscriber.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/init/ve.init.mw.trackSubscriber.js b/modules/ve-mw/init/ve.init.mw.trackSubscriber.js index ac40ade2ec..c53d100c33 100644 --- a/modules/ve-mw/init/ve.init.mw.trackSubscriber.js +++ b/modules/ve-mw/init/ve.init.mw.trackSubscriber.js @@ -69,7 +69,7 @@ version: 1, action: action, editor: 'visualeditor', - platform: ve.init.target.static.name === 'mobile' ? 'tablet' : 'desktop', // HACK + platform: 'desktop', // FIXME integration: ve.init.target && ve.init.target.constructor.static.integrationType || 'page', 'page.id': mw.config.get( 'wgArticleId' ), 'page.title': mw.config.get( 'wgPageName' ),