From: Florianschmidtwelzow Date: Mon, 18 Aug 2014 17:21:42 +0000 (+0200) Subject: Fix mediawiki.ui.checkbox loading in mobile X-Git-Tag: 1.31.0-rc.0~14388 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=ecc5f63a84013155656b37c27da917a02328dbfc;p=lhc%2Fweb%2Fwiklou.git Fix mediawiki.ui.checkbox loading in mobile * mwui checkboxes can load on mobile, too * mwui should have position on top to load before the content is rendered Follow up: I6a0db7c8ce33d242120f1cba9222db4e2154696c and I89d80927d603407678182592a1b12e2132de4141 Change-Id: I8222610aa714f7e422acaa3c3041c41f817eab7d --- diff --git a/resources/Resources.php b/resources/Resources.php index 5b6a11dc6a..4a1c86b972 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -1459,6 +1459,8 @@ return array( 'styles' => array( 'resources/src/mediawiki.ui/components/checkbox.less', ), + 'position' => 'top', + 'targets' => array( 'desktop', 'mobile' ), ), // Lightweight module for anchor styles 'mediawiki.ui.anchor' => array(