redo
This commit is contained in:
parent
1cfeb61ddc
commit
077726a193
1 changed files with 10 additions and 0 deletions
10
js/main.js
10
js/main.js
|
@ -95,6 +95,16 @@
|
||||||
if(home == 0) { home = ''; $('#home-update').removeClass('show') } else { $('#home-update').addClass('show') }
|
if(home == 0) { home = ''; $('#home-update').removeClass('show') } else { $('#home-update').addClass('show') }
|
||||||
$('#home-update').html(home);
|
$('#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')
|
var eNotif = $(data).find('notif')
|
||||||
notif = eNotif.attr('count');
|
notif = eNotif.attr('count');
|
||||||
if (notif>0){
|
if (notif>0){
|
||||||
|
|
Loading…
Reference in a new issue