Update blueweather.js

This commit is contained in:
Dorian Zedler 2019-09-02 10:24:20 +00:00
parent 9dfa1cba4d
commit 29f8f44094

View file

@ -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