diff options
author | Friendika <info@friendika.com> | 2011-10-10 00:26:52 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-10 00:26:52 -0700 |
commit | 077726a193809bed5b1433713b69ce985e177925 (patch) | |
tree | 4837cfb343676534da8db13477a0d28f6cafdf63 /js/main.js | |
parent | 1cfeb61ddc1cf7b059d25491eeb974186f574df8 (diff) | |
download | volse-hubzilla-077726a193809bed5b1433713b69ce985e177925.tar.gz volse-hubzilla-077726a193809bed5b1433713b69ce985e177925.tar.bz2 volse-hubzilla-077726a193809bed5b1433713b69ce985e177925.zip |
redo
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js index bd6b6d658..03ba11ed8 100644 --- a/js/main.js +++ b/js/main.js @@ -95,6 +95,16 @@ if(home == 0) { home = ''; $('#home-update').removeClass('show') } else { $('#home-update').addClass('show') } $('#home-update').html(home); + + + var intro = $(data).find('intro').text(); + if(intro == 0) { intro = ''; $('#intro-update').removeClass('show') } else { $('#intro-update').addClass('show') } + $('#intro-update').html(intro); + + var mail = $(data).find('mail').text(); + if(mail == 0) { mail = ''; $('#mail-update').removeClass('show') } else { $('#mail-update').addClass('show') } + $('#mail-update').html(mail); + var eNotif = $(data).find('notif') notif = eNotif.attr('count'); if (notif>0){ |