Fix dynamic challenge hint loading (#1224)

* Fixes hint loading for dynamic challenges
bulk-clear-sessions
Kevin Chung 2020-01-28 22:16:44 -05:00 committed by GitHub
parent d59bfa3578
commit 309e62520e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@
<div class="challenge-hints hint-row row">
{% for hint in hints %}
<div class='col-md-12 hint-button-wrapper text-center mb-3'>
<a class="btn btn-info btn-hint btn-block" href="javascript:;"
onclick="javascript:loadhint({{ hint.id }})">
<a class="btn btn-info btn-hint btn-block load-hint" href="javascript:;" data-hint-id="{{ hint.id }}">
{% if hint.hint %}
<small>
View Hint