From: jdlrobson Date: Wed, 31 Aug 2016 15:17:07 +0000 (-0700) Subject: Enable jquery.ui.position on mobile X-Git-Tag: 1.31.0-rc.0~5816^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=ba95a8dee00d1f4489ae60ece3821933b064cf4d;p=lhc%2Fweb%2Fwiklou.git 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 --- 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', ],