Node.js based forum software built for the modern web
removed friends.js
Baris Soner Usaklib0111274ad7c
diff --git a/public/src/forum/friends.js b/public/src/forum/friends.jsdeleted file mode 100644index 7a34e83815..0000000000--- a/public/src/forum/friends.js+++ /dev/null@@ -1,44 +0,0 @@-(function() {-- var yourid = templates.get('yourid'),- theirid = templates.get('theirid'),- friendCount = templates.get('friendCount');-- $(document).ready(function() {-- if(parseInt(friendCount, 10) === 0) {- $('#no-friend-notice').show();- }- var editLink = $('#editLink');-- if(yourid !== theirid) {- editLink.hide();- $('.remove-friend-btn').hide();- }- else {- $('.remove-friend-btn').on('click',function(){-- var removeBtn = $(this);- var friendid = $(this).attr('friendid');-- $.post('/users/removefriend', {uid: friendid},- function(data) {- removeBtn.parent().remove();- }- );- return false;- });- }-- $('.reputation').each(function(index, element) {- $(element).html(app.addCommas($(element).html()));- });-- $('.postcount').each(function(index, element) {- $(element).html(app.addCommas($(element).html()));- });-- });---}());\ No newline at end of file