From: chapel Date: Sun, 20 Nov 2011 05:01:11 +0000 (-0800) Subject: Wire up homepage buttons X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=230fa36c4b857d25b539169293c9ede017130786;p=oweals%2Ffinalsclub.git Wire up homepage buttons --- 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') {