diff --git a/src/js/yunohost/controllers/home.js b/src/js/yunohost/controllers/home.js index 18469d8b..c0c9e924 100644 --- a/src/js/yunohost/controllers/home.js +++ b/src/js/yunohost/controllers/home.js @@ -35,6 +35,7 @@ var link=$('link', v)[0].innerHTML; if (typeof link == 'string' && link !== '' && link.charAt(0) == '/') link=forumUrl+link; + var description=$('description', v)[0].textContent; description=description.replace('href="/','href="'+forumUrl+'/'); @@ -55,7 +56,6 @@ viewedItems.push(item.guid); } }); - // Saved viewed items to cookie $.cookie('ynhSecurityViewedItems', viewedItems, { expire: 7 @@ -77,8 +77,8 @@ */ app.get('#/login', function (c) { - $('#masthead').show(); - $('#masthead .logout-btn').hide(); + $('#masthead').show() + .find('.logout-btn').hide(); store.set('path-1', '#/login'); if ($('div.loader').length === 0) { $('#main').append('
'); diff --git a/src/views/login.ms b/src/views/login.ms index 5cab8318..de7572e0 100644 --- a/src/views/login.ms +++ b/src/views/login.ms @@ -4,7 +4,7 @@ {{t 'domain'}} - +