Skip to content

Commit 15a46ac

Browse files
committed
Fix image alt
1 parent d7a9d82 commit 15a46ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/CrudHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public function th($column_id, Crud $crud, $options, $thOptions, $ajaxOptions)
418418

419419
//Case n°3: We can sort on this column, and the sorting is active on her at present
420420
$image_src = ($session_values->sense == Crud::ASC) ? $image_up : $image_down;
421-
$image_alt = ($session_values->sense == Crud::ASC) ? 'V' : '^';
421+
$image_alt = ($session_values->sense == Crud::ASC) ? '^' : 'V';
422422
$new_sense = ($session_values->sense == Crud::ASC) ? Crud::DESC : Crud::ASC;
423423
$image = $this->util->tag('img', array('src' => $image_src, 'alt' => $image_alt));
424424
$link = $this->listePrivateLink($label, $crud->getUrl(array('sense' => $new_sense)), array(), $ajaxOptions);

0 commit comments

Comments
 (0)