Merge branch 'MDL-78125-master' of https://github.com/junpataleta/moodle

This commit is contained in:
Andrew Nicols 2023-05-15 11:52:44 +08:00
commit d9fb5152f7
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14

View File

@ -212,8 +212,9 @@ abstract class qtype_multianswer_subq_renderer_base extends qtype_renderer {
return '';
}
return html_writer::tag('button', $icon, [
'type' => 'button',
return html_writer::link('#', $icon, [
'role' => 'button',
'tabindex' => 0,
'class' => 'btn btn-link p-0',
'data-toggle' => 'popover',
'data-container' => 'body',