From ecc5f63a84013155656b37c27da917a02328dbfc Mon Sep 17 00:00:00 2001 From: Florianschmidtwelzow Date: Mon, 18 Aug 2014 19:21:42 +0200 Subject: [PATCH] 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 --- resources/Resources.php | 2 ++ 1 file changed, 2 insertions(+) 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( -- 2.20.1