Skip to content

Commit 8611e61

Browse files
authored
Merge pull request #37108 from haftamuk/ESHE-37081
Fix: When clicking "Download Handout", the handout (image) overlays the video area, and the download does not start automatically.
2 parents ab6cf6e + f5904d1 commit 8611e61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lms/templates/video.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h4 class="hd hd-5">{% trans 'Transcripts' as tmsg %}{{tmsg|force_escape}}</h4>
144144
{% if handout %}
145145
<div class="wrapper-handouts">
146146
<h4 class="hd hd-5">{% trans 'Handouts' as tmsg %}{{tmsg|force_escape}}</h4>
147-
<a class="btn-link" href="{{ handout|escape }}">{% trans 'Download Handout' as tmsg %}{{tmsg|force_escape}}</a>
147+
<a class="btn-link" href="{{ handout|escape }}" download>{% trans 'Download Handout' as tmsg %}{{tmsg|force_escape}}</a>
148148
</div>
149149
{% endif %}
150150
</div>

0 commit comments

Comments
 (0)