aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-04-06 11:19:12 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-04-06 11:19:12 +0200
commitf980b79edcff78a849d65de15f36f2b0475665d7 (patch)
tree7e3955c3c60907fd71eb7747ac41ac4d00b8576a /js/main.js
parentafd2bf031eff688ae53e51f9199d025ca1935abe (diff)
downloadvolse-hubzilla-f980b79edcff78a849d65de15f36f2b0475665d7.tar.gz
volse-hubzilla-f980b79edcff78a849d65de15f36f2b0475665d7.tar.bz2
volse-hubzilla-f980b79edcff78a849d65de15f36f2b0475665d7.zip
new-contacts-introductions in contacts-drop-down and new-messages in messages-drop-down get each an additional indicator...
profile-picture is now scaled right in firefox... fixed broken css on introductions-page in firefox...
Diffstat (limited to 'js/main.js')
-rwxr-xr-x[-rw-r--r--]js/main.js12
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');