From bde8fece8c16fdbe78231999f9fcd8dad62d0957 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 14 Nov 2024 11:46:49 +0000 Subject: [PATCH] Set enforceResizesContent on mobile targets Logically depends on If412dc5828. Bug: T379780 Change-Id: Id7667de9e2251820158ee532a42fabec18d9d5a1 --- modules/ve-mw-collab/ve.init.mw.MobileCollabTarget.js | 2 ++ modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/ve-mw-collab/ve.init.mw.MobileCollabTarget.js b/modules/ve-mw-collab/ve.init.mw.MobileCollabTarget.js index 9d1add4739..b459231999 100644 --- a/modules/ve-mw-collab/ve.init.mw.MobileCollabTarget.js +++ b/modules/ve-mw-collab/ve.init.mw.MobileCollabTarget.js @@ -89,6 +89,8 @@ ve.init.mw.MobileCollabTarget.static.toolbarGroups = [ } ]; +ve.init.mw.MobileCollabTarget.static.enforceResizesContent = true; + /* Methods */ /** diff --git a/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js index f8fe746d18..d3a8a29569 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js @@ -87,6 +87,8 @@ ve.init.mw.MobileArticleTarget.static.trackingName = 'mobile'; // FIXME Some of these users will be on tablets, check for this ve.init.mw.MobileArticleTarget.static.platformType = 'phone'; +ve.init.mw.MobileArticleTarget.static.enforceResizesContent = true; + /* Methods */ /**