From fe550c015527d5a8953e2d7debbe9d325ac942df Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 10 Oct 2014 13:05:57 -0400 Subject: remove bg --- public/assets/javascripts/ui/site/ProfileView.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'public/assets/javascripts/ui') diff --git a/public/assets/javascripts/ui/site/ProfileView.js b/public/assets/javascripts/ui/site/ProfileView.js index f3b35d9..76d733c 100644 --- a/public/assets/javascripts/ui/site/ProfileView.js +++ b/public/assets/javascripts/ui/site/ProfileView.js @@ -1,6 +1,12 @@ var ProfileView = View.extend({ + el: ".profilepage", + + events: { + "change #profile_avatar": "uploadAvatar", + }, + initialize: function() { }, @@ -12,6 +18,9 @@ var ProfileView = View.extend({ $(".bio").addClass(choice(classes)); this.projectList = new ProjectList () + }, + + uploadAvatar: function(){ } }) -- cgit v1.2.3-70-g09d2