diff accounts/static/js/accounts_code.js @ 909:90632d090bbc

Merge with upstream.
author Brian Neal <bgneal@gmail.com>
date Mon, 16 Mar 2015 21:03:37 -0500
parents be233ba7ca31
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/accounts/static/js/accounts_code.js	Mon Mar 16 21:03:37 2015 -0500
@@ -0,0 +1,5 @@
+$(document).ready(function() {
+   $.get('/accounts/register/code/', function(data) {
+      $('#reg-code-block').text(data.code);
+   });
+});