mirror of https://github.com/JohnHammond/CTFd.git
Fix dynamic challenge hint loading (#1224)
* Fixes hint loading for dynamic challengesbulk-clear-sessions
parent
d59bfa3578
commit
309e62520e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue