From 29f8f44094f5954f9af87c6a36bf09dbb6fbc61f Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Mon, 2 Sep 2019 10:24:20 +0000 Subject: [PATCH] Update blueweather.js --- js/blueweather.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/blueweather.js b/js/blueweather.js index 5c255c4..78d7ae5 100755 --- a/js/blueweather.js +++ b/js/blueweather.js @@ -112,6 +112,7 @@ class BlueWeather { if (ret && ret['header'] === 200) { thisObject.session.user.username = ret["data"]["username"] thisObject.session.user.realName = ret["data"]["realname"] + thisObject.session.user.email = ret["data"]["email"] processingFunction(true) return } @@ -367,7 +368,7 @@ class BlueWeather { var profileImage = document.createElement("img") profileButton.appendChild(profileImage) profileImage.height = "30" - profileImage.src = "img/user.png" + profileImage.src = "https://www.gravatar.com/avatar/hhshwvdiffuebb?d=indenticon" + profileImage.classList.add("img-profile", "rounded-circle") // create dropdown menu