Use real magnet link in download modal

Previously, on clicking Magnet, we were redirecting to a different site:
https://download.kiwix.org/zim/other/xyzBookWithDate.zim.magnet

This had the real magnet link as page content
Now we use the real magnet link in the href, thus not redirecting and starting the download right away.
Fix #767
This commit is contained in:
Nikhil Tanwar
2022-05-11 15:48:22 +05:30
committed by Kelson
parent cbd37073e8
commit 6cdc47eb62
2 changed files with 17 additions and 5 deletions

View File

@ -319,7 +319,7 @@ R"EXPECTEDRESULT( src="/ROOT/skin/jquery-ui/external/jquery/jquery.js?cache
src: url("/ROOT/skin/fonts/Roboto.ttf?cacheid=84d10248") format("truetype");
<script src="/ROOT/skin/isotope.pkgd.min.js?cacheid=2e48d392" defer></script>
<script src="/ROOT/skin/iso6391To3.js?cacheid=ecde2bb3"></script>
<script type="text/javascript" src="/ROOT/skin/index.js?cacheid=0951f06f" defer></script>
<script type="text/javascript" src="/ROOT/skin/index.js?cacheid=c434aa35" defer></script>
)EXPECTEDRESULT"
},
{