mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-05 14:24:25 +01:00
Fix dynamic challenge hint loading (#1224)
* Fixes hint loading for dynamic challenges
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user