diff --git a/js/gratipay/homepage.js b/js/gratipay/homepage.js index 9212bcdd31..d07ca9be7e 100644 --- a/js/gratipay/homepage.js +++ b/js/gratipay/homepage.js @@ -2,9 +2,16 @@ Gratipay.homepage = {} Gratipay.homepage.initForm = function(clientAuthorization) { $form = $('#homepage #content form'); + $submit= $form.find('button[type=submit]'); $submit.click(Gratipay.homepage.submitForm); + $chooseEcosystem = $form.find('.ecosystem-chooser button'); + $chooseEcosystem.click(function(e) { + e.preventDefault(); + Gratipay.notification('Not implemented.', 'error'); + }); + $promote = $form.find('.promotion-gate button'); $promote.click(Gratipay.homepage.openPromote); diff --git a/www/index.spt b/www/index.spt index 40a2a2281a..0892c7d616 100644 --- a/www/index.spt +++ b/www/index.spt @@ -115,10 +115,10 @@ $(document).ready(function() { {{ _('Which do you value most?{br}(JavaScript, Python, etc.)', br='
'|safe) }}

-
+
-
+

{{ _('Promotion') }}