From 230fa36c4b857d25b539169293c9ede017130786 Mon Sep 17 00:00:00 2001 From: chapel Date: Sat, 19 Nov 2011 21:01:11 -0800 Subject: [PATCH] Wire up homepage buttons --- public/index.html | 4 ++-- public/javascripts/main.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index ecec4d6..bb577bb 100755 --- a/public/index.html +++ b/public/index.html @@ -92,8 +92,8 @@
- - + +
diff --git a/public/javascripts/main.js b/public/javascripts/main.js index a85d687..bae30c0 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -102,6 +102,9 @@ router.add('home', false, function(cb) { $('#learnsomething').unbind(); $('.nav').removeClass('active'); cb("home"); + $('#signup').click(function(e) { + goPage('/register'); + }); $('#learnsomething').click(function(e) { $.get('/learn/random', function(data) { if (data.status === 'ok') { -- 2.25.1