Commit fe3593b4 authored by Andrew Nicols's avatar Andrew Nicols
Browse files

MDL-40975 ActionMenu: Tidy up title + alt combinations

parent 4bbb890f
......@@ -3239,21 +3239,21 @@ class action_menu implements renderable {
$pixicon = $this->actionicon;
$linkclasses = array('toggle-display');
$title = '';
if (!empty($this->menutrigger)) {
// Chagne the pixicon.
// Change the pixicon.
$pixicon = new pix_icon(
't/dropdown',
'',
'moodle',
array('class' => 'iconsmall', 'title' => '')
);
$title = $this->menutrigger;
$linkclasses[] = 'textmenu';
} else {
$title = new lang_string('actions', 'moodle');
$this->actionicon = new pix_icon(
'i/dropdown',
$title,
'',
'moodle',
array('class' => 'iconsmall', 'title' => '')
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment