Skip to content

Commit df2da7c

Browse files
authored
Merge pull request #563 from WebDevStudios/feature/CC-255-class-selector
Added class selector to list selector (single) to help with styling.
2 parents 6b32132 + c03aebf commit df2da7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-display.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ public function checkbox( $name = '', $id = '', $value = '', $label = '', $req =
12381238

12391239
// If only one list displayed, hide input.
12401240
if ( 'lists' === $key_pieces[0] && $count <= 1 ) {
1241-
$markup = "<div style='display:none;'>{$markup}</div>";
1241+
$markup = "<div class='ctct-list-selector' style='display:none;'>{$markup}</div>";
12421242
}
12431243

12441244
return $markup;

0 commit comments

Comments
 (0)