Unblock external link in catch page in JS code

Instead of disabling the blocking for the handler, the JS code detects it is
displaying the handler and allows external links to go through
This commit is contained in:
renaud gaudin
2020-03-27 12:26:22 +00:00
parent 412f0d9c61
commit d04d9bf7f3
3 changed files with 7 additions and 4 deletions

View File

@ -13,7 +13,7 @@
<h1>External link blocked</h1>
<p>This instance of Kiwix protects you from accidentaly going to external (out-of ZIM) links.</p>
<p>If you intend to go to such locations, please click the link bellow.</p>
<p>If you intend to go to such locations, please click the link below.</p>
<p><a href="{{ source }}">Go to {{ source }}</a></p>
<div id="kiwixfooter">
Powered by <a href="https://kiwix.org">Kiwix</a>