Permalink
Browse files

MDL-35884 - Course - Remove text from ALT attribute for activity chooser

  • Loading branch information...
1 parent 0395306 commit ceb3551726e6df8ec0daa80421bc9c3b086a1203 @jsnfwlr jsnfwlr committed Dec 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -1830,7 +1830,7 @@ function print_section_add_menus($course, $section, $modnames = null, $vertical=
// The module chooser link
$modchooser = html_writer::start_tag('div', array('class' => 'mdl-right'));
$modchooser.= html_writer::start_tag('div', array('class' => 'section-modchooser'));
- $icon = $OUTPUT->pix_icon('t/add', $straddeither);
+ $icon = $OUTPUT->pix_icon('t/add', '');
$span = html_writer::tag('span', $straddeither, array('class' => 'section-modchooser-text'));
$modchooser .= html_writer::tag('span', $icon . $span, array('class' => 'section-modchooser-link'));
$modchooser.= html_writer::end_tag('div');

0 comments on commit ceb3551

Please sign in to comment.