diff --git a/listjs.module b/listjs.module index 7cb8b24..2ac3601 100644 --- a/listjs.module +++ b/listjs.module @@ -72,7 +72,7 @@ function template_preprocess_listjs(&$variables) { // Prepare row classes. if ($field->options['element_default_classes']) { - $classes = 'views-field views-field-' . drupal_html_class($field->field); + $classes = 'views-field ' . drupal_html_class("views-field-{$field->field}"); } if ($field_classes = $field->element_classes($id)) { if (!empty($classes)) {