summaryrefslogtreecommitdiff
path: root/includes/htmlform/HTMLMultiSelectField.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/htmlform/HTMLMultiSelectField.php')
-rw-r--r--includes/htmlform/HTMLMultiSelectField.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/htmlform/HTMLMultiSelectField.php b/includes/htmlform/HTMLMultiSelectField.php
index 1b71ab95..8d28b59e 100644
--- a/includes/htmlform/HTMLMultiSelectField.php
+++ b/includes/htmlform/HTMLMultiSelectField.php
@@ -59,6 +59,14 @@ class HTMLMultiSelectField extends HTMLFormField implements HTMLNestedFilterable
$label
);
+ if ( $this->mParent->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
+ $checkbox = Html::rawElement(
+ 'div',
+ array( 'class' => 'mw-ui-checkbox' ),
+ $checkbox
+ );
+ }
+
$html .= ' ' . Html::rawElement(
'div',
array( 'class' => 'mw-htmlform-flatlist-item' ),