Update blueweather.js
This commit is contained in:
parent
9dfa1cba4d
commit
29f8f44094
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue