You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by vk...@apache.org on 2021/01/13 00:27:23 UTC

[ignite-website] branch master updated: Reverting Ignite 3 alpha download fix

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 bcb999f  Reverting Ignite 3 alpha download fix
bcb999f is described below

commit bcb999f8b63072d7756f4d9801a5599d67b60d1e
Author: Valentin Kulichenko <va...@gmail.com>
AuthorDate: Tue Jan 12 16:27:09 2021 -0800

    Reverting Ignite 3 alpha download fix
---
 download.html | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/download.html b/download.html
index e9e8067..c640cbf 100644
--- a/download.html
+++ b/download.html
@@ -582,7 +582,7 @@ under the License.
                     <td style="white-space: nowrap;">2021-01-11</td>
                     <td style="white-space: nowrap;">
                         Unix: <a download
-                                id="apache_ignite_text_download"
+                                id="apache_ignite_binary_fabric_download"
                                 href="[preferred]/[distdir]/3.0.0-alpha1/ignite"
                                 onclick="gtag('event',  'download', {'event_category': 'apache_ignite_fabric_download', 'event_label': 'apache-ignite-3.0.0-alpha1'});">ignite</a>
 
@@ -914,19 +914,6 @@ under the License.
     WebFontConfig = {
         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");
-        document.body.appendChild(a);
-        a.style = "display: none";
-        a.href = url;
-        a.download = "text";
-        a.click();
-        window.URL.revokeObjectURL(url);
-        return false;
-    })
     (function () {
         var wf = document.createElement('script');
         wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';