From 3eb0b4be2a7e0f4d8f9a518114e1daa49f46b59b Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 29 Jun 2011 22:38:30 -0700 Subject: now that we have admin interface, completely remove register approvals from notifications --- include/main.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/main.js') diff --git a/include/main.js b/include/main.js index 5b9dae461..c2772000d 100644 --- a/include/main.js +++ b/include/main.js @@ -47,11 +47,7 @@ if(mail == 0) { mail = ''; $('#mail-update').hide() } else { $('#mail-update').show() } $('#mail-update').html(mail); var intro = $(data).find('intro').text(); - var register = $(data).find('register').text(); - if(intro == 0) { intro = ''; } - if(register != 0 && intro != '') { intro = intro+'/'+register; } - if(register != 0 && intro == '') { intro = '0/'+register; } - if (intro == '') { $('#notify-update').hide() } else { $('#notify-update').show() } + if(intro == 0) { intro = ''; $('#notify-update').hide() } else { $('#notify-update').show() } $('#notify-update').html(intro); }); -- cgit v1.2.3