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