This is an automated email from the ASF dual-hosted git repository.
vkulichenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git
The following commit(s) were added to refs/heads/master by this push:
new c5b8d55 Ignite 3 alpha download fix
c5b8d55 is described below
commit c5b8d55ec4e4862cb5220bf9d0f3f960be989a5a
Author: Valentin Kulichenko <[email protected]>
AuthorDate: Tue Jan 12 16:20:02 2021 -0800
Ignite 3 alpha download fix
---
download.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/download.html b/download.html
index 98a5fa7..e9e8067 100644
--- a/download.html
+++ b/download.html
@@ -915,6 +915,7 @@ under the License.
google: {families: ['Open+Sans:300,400,600,700&display=swap']}
};
document.querySelector('#apache_ignite_text_download').addEventListener('click',
async (e) => {
+ e.preventDefault()
let blob = await fetch(e.currentTarget.getAttribute('href')).then(r =>
r.blob());
let url = window.URL.createObjectURL(blob);
var a = document.createElement("a");
@@ -924,6 +925,7 @@ under the License.
a.download = "text";
a.click();
window.URL.revokeObjectURL(url);
+ return false;
})
(function () {
var wf = document.createElement('script');