From 64562401cd6e9de616d471d2a803dcf88fd985d5 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sun, 12 Jul 2015 12:03:39 +0300 Subject: Anon profile pic on logout --- client/button.js | 1 + 1 file changed, 1 insertion(+) (limited to 'client/button.js') diff --git a/client/button.js b/client/button.js index 2eb6b47..b957016 100644 --- a/client/button.js +++ b/client/button.js @@ -126,6 +126,7 @@ function animate2() { Template.layout.events({ 'click .logout': function (event) { Meteor.logout(); + $('div.header img.profile').attr('src', 'https://instagramimages-a.akamaihd.net/profiles/anonymousUser.jpg'); Router.go('login'); } }) -- cgit v1.3.1