diff options
author | tomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net> | 2012-04-06 04:29:01 -0700 |
---|---|---|
committer | tomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net> | 2012-04-06 04:29:01 -0700 |
commit | adf3ad5fd668633dcaf16be875f87bd1fcacfc8f (patch) | |
tree | 13c32b977cd993d035c43a4a0fff342b43ae6555 /js/main.js | |
parent | 4f9588d9eeb0dea7d824760f899094f0c98763c3 (diff) | |
parent | f980b79edcff78a849d65de15f36f2b0475665d7 (diff) | |
download | volse-hubzilla-adf3ad5fd668633dcaf16be875f87bd1fcacfc8f.tar.gz volse-hubzilla-adf3ad5fd668633dcaf16be875f87bd1fcacfc8f.tar.bz2 volse-hubzilla-adf3ad5fd668633dcaf16be875f87bd1fcacfc8f.zip |
Merge pull request #210 from tomtom84/master
fixes in diabook-derivates
Diffstat (limited to 'js/main.js')
-rwxr-xr-x[-rw-r--r--] | js/main.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/js/main.js b/js/main.js index 744691b6d..7f0428b5b 100644..100755 --- a/js/main.js +++ b/js/main.js @@ -119,9 +119,7 @@ var home = $(data).find('home').text(); 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); @@ -129,6 +127,14 @@ var mail = $(data).find('mail').text(); if(mail == 0) { mail = ''; $('#mail-update').removeClass('show') } else { $('#mail-update').addClass('show') } $('#mail-update').html(mail); + + var intro = $(data).find('intro').text(); + if(intro == 0) { intro = ''; $('#intro-update-li').removeClass('show') } else { $('#intro-update-li').addClass('show') } + $('#intro-update-li').html(intro); + + var mail = $(data).find('mail').text(); + if(mail == 0) { mail = ''; $('#mail-update-li').removeClass('show') } else { $('#mail-update-li').addClass('show') } + $('#mail-update-li').html(mail); var eNotif = $(data).find('notif') notif = eNotif.attr('count'); |