fix email generation

This commit is contained in:
Ivan Blinkov 2020-02-17 01:08:57 +03:00 committed by GitHub
parent c1f42f5edd
commit 63ceb5d6f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,7 +546,7 @@ sudo clickhouse-client-$LATEST_VERSION/install/doinst.sh
$('#announcement>.page').html(result); $('#announcement>.page').html(result);
} }
}); });
var name = $('#main-title').text().trim().toLowerCase(); var name = $('#logo-text').attr('alt').trim().toLowerCase();
var feedback_address = name + '-feedback' + '@yandex-team.com'; var feedback_address = name + '-feedback' + '@yandex-team.com';
var feedback_email = $('#feedback_email'); var feedback_email = $('#feedback_email');
feedback_email.attr('href', 'mailto:' + feedback_address); feedback_email.attr('href', 'mailto:' + feedback_address);