aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-29 22:38:30 -0700
committerFriendika <info@friendika.com>2011-06-29 22:38:30 -0700
commit3eb0b4be2a7e0f4d8f9a518114e1daa49f46b59b (patch)
tree7bfc2d0baabdadad60d337bb9eb72bdd2cd3c3d2 /include/main.js
parent58d474aa2df712e402b6c5fd1ade98df51adaa93 (diff)
downloadvolse-hubzilla-3eb0b4be2a7e0f4d8f9a518114e1daa49f46b59b.tar.gz
volse-hubzilla-3eb0b4be2a7e0f4d8f9a518114e1daa49f46b59b.tar.bz2
volse-hubzilla-3eb0b4be2a7e0f4d8f9a518114e1daa49f46b59b.zip
now that we have admin interface, completely remove register approvals from notifications
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js6
1 files changed, 1 insertions, 5 deletions
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);
});