Fix firefox websocket disconnect on download link click

This commit is contained in:
shortcutme 2018-06-03 12:35:12 +02:00
parent 22d6a32e4e
commit 250741e431
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -165,7 +165,7 @@ class UiWebsocketPlugin(object):
<label> <label>
{_[Files]} {_[Files]}
<small><a href='#Site+directory' id='link-directory' class='link-right'>{_[Open site directory]}</a> <small><a href='#Site+directory' id='link-directory' class='link-right'>{_[Open site directory]}</a>
<a href='/ZeroNet-Internal/Zip?address={site.address}' id='link-zip' class='link-right'>{_[Download as .zip]}</a></small> <a href='/ZeroNet-Internal/Zip?address={site.address}' id='link-zip' class='link-right' download='site.zip'>{_[Download as .zip]}</a></small>
</label> </label>
<ul class='graph graph-stacked'> <ul class='graph graph-stacked'>
""")) """))