From ba95a8dee00d1f4489ae60ece3821933b064cf4d Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 31 Aug 2016 08:17:07 -0700 Subject: [PATCH] Enable jquery.ui.position on mobile Although this module is deprecated it appears to be used in isolation from jquery.ui in key extensions such as Translate. To aid extensions who need to transition away from it we should make this available on mobile. This module does not appear to be loaded on startup and is the only non-mobile targetted module used by the Translate extension so enabling this will give us benefit. This also fits in with the long term plan of deprecating the targets field altogether. Change-Id: Ib381b820c69832f9aa6fce01f5dae8b4f50d66fa --- resources/Resources.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/Resources.php b/resources/Resources.php index ef56cd340a..5f451760c3 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -571,6 +571,7 @@ return [ ], 'jquery.ui.position' => [ 'deprecated' => true, + 'targets' => [ 'mobile', 'desktop' ], 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js', 'group' => 'jquery.ui', ], -- 2.20.1