Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-36752-MOODLE_23_STABLE-2' of git://git.luns.net.uk/…

…moodle into MOODLE_23_STABLE
  • Loading branch information...
commit ab690341b23a04f932f2a41c628dd104f09e99c3 2 parents 0b7a458 + 1ca16a9
@danpoltawski danpoltawski authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/javascript-static.js
  2. +1 −1  lib/outputrenderers.php
View
2  lib/javascript-static.js
@@ -1425,7 +1425,7 @@ M.util.help_icon = {
return;
}
this.Y = Y;
- Y.one('body').delegate('click', this.display, 'span.helplink a', this);
+ Y.one('body').delegate('click', this.display, 'span.helplink a.tooltip', this);
this.initialised = true;
},
add : function(Y, properties) {
View
2  lib/outputrenderers.php
@@ -1803,7 +1803,7 @@ protected function render_help_icon(help_icon $helpicon) {
// note: this title is displayed only if JS is disabled, otherwise the link will have the new ajax tooltip
$title = get_string('helpprefix2', '', trim($title, ". \t"));
- $attributes = array('href'=>$url, 'title'=>$title, 'aria-haspopup' => 'true');
+ $attributes = array('href'=>$url, 'title'=>$title, 'aria-haspopup' => 'true', 'class' => 'tooltip');
$output = html_writer::tag('a', $output, $attributes);
$this->page->requires->js_init_call('M.util.help_icon.setup');
Please sign in to comment.
Something went wrong with that request. Please try again.