aboutsummaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/profile.coffee1
-rw-r--r--public/js/profile.js1
2 files changed, 0 insertions, 2 deletions
diff --git a/public/js/profile.coffee b/public/js/profile.coffee
index dda0597c..fdbde8ee 100644
--- a/public/js/profile.coffee
+++ b/public/js/profile.coffee
@@ -7,7 +7,6 @@ $(->
user = $('#username').val()
$.getJSON("/#{user}.json", (data) ->
- $('#username').val(data.username)
$('#email').val(data.email)
$('#profile').fadeIn()
)
diff --git a/public/js/profile.js b/public/js/profile.js
index d680e209..a49c7583 100644
--- a/public/js/profile.js
+++ b/public/js/profile.js
@@ -12,7 +12,6 @@
$('#title').focus();
user = $('#username').val();
$.getJSON("/" + user + ".json", function(data) {
- $('#username').val(data.username);
$('#email').val(data.email);
return $('#profile').fadeIn();
});