Skip to content

Commit

Permalink
Hacky fix for course edit
Browse files Browse the repository at this point in the history
  • Loading branch information
cuom1999 committed Aug 22, 2024
1 parent a42bae5 commit 7250c71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/course/edit_lesson.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

{% block js_media %}
{{ form.media.js }}
<script>
$(function() {
setTimeout(function() {
if ('DjangoPagedown' in window) {
DjangoPagedown.init();
}
}, 3000);
});
</script>
{% endblock %}

{% block middle_content %}
Expand Down

0 comments on commit 7250c71

Please sign in to comment.