diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-24 05:49:46 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-24 05:49:46 +0000 |
| commit | 0c785ab730997972b573c48d25f958dea5ad62b9 (patch) | |
| tree | b3404d890cc33c5d6e1f0954785aa6766a48a154 /assets/js/script.js | |
| parent | 43f7514bb2ae00d3805f1468f89bbdab6fc595fa (diff) | |
Implemented messaging system. Form neesds to be fixed
Diffstat (limited to 'assets/js/script.js')
| -rw-r--r-- | assets/js/script.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/assets/js/script.js b/assets/js/script.js index f08ca7a..5531c1e 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -6,7 +6,8 @@ function main(){ $("#profile-follows"), $("#profile-friends"), $("#profile-inbox"), - $("#profile-comments")]; + $("#profile-comments"), + $('#profile-send-message')]; function hidePages(){ items.forEach(function(item){ @@ -32,7 +33,7 @@ function main(){ console.log("clicked general"); $("#profile-general").show(); break; - case "Follows": + case "Following": $("#profile-follows").show(); break; case "Friends": @@ -44,6 +45,9 @@ function main(){ case "Comments": $("#profile-comments").show(); break; + case "Send Message": + $('#profile-send-message').show(); + break; default: console.log("Error: User page not found"); } |
