Verified Commit 78f47c75 authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Set download attribute on Thabloid download links

parent cc34c33f
......@@ -19,7 +19,12 @@ $(function () {
afterShow: function (instance, current) {
$(instance.$refs.container)
.find("[data-fancybox-download]")
.attr("href", downloadLink);
.attr(
{
"href": downloadLink,
"download": '',
}
);
}
});
});
......
......@@ -19,7 +19,8 @@ def thabloid_card(year, thabloid):
'<a href="{}" class="btn btn-secondary d-inline-flex open mr-1">'
'<i class="fas fa-book-open"></i>'
'</a>'
'<a href="{}" class="btn btn-secondary d-inline-flex download ml-1">'
'<a href="{}" download '
'class="btn btn-secondary d-inline-flex download ml-1">'
'<i class="fas fa-download"></i>'
'</a>'
'</div>'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment