Fix for empty list import (#459)

* Fix for empty list import

* Flex on enable also
This commit is contained in:
Kasper Rynning-Tønnesen
2019-01-15 21:11:16 +01:00
committed by GitHub
parent 03ca6a9f77
commit bcd00aa93e
3 changed files with 7 additions and 3 deletions

View File

@@ -425,7 +425,7 @@ var Channel = {
} else {
Helper.log(["Spotify is not authenticated"]);
Helper.css(".spotify_authenticated", "display", "none");
Helper.css(".spotify_unauthenticated", "display", "block");
Helper.css(".spotify_unauthenticated", "display", "flex");
}
},

View File

@@ -1344,7 +1344,7 @@ function addDynamicListeners() {
access_token_data = {};
Channel.spotify_is_authenticated(false);
Helper.css(".spotify_authenticated", "display", "none");
Helper.css(".spotify_unauthenticated", "display", "block");
Helper.css(".spotify_unauthenticated", "display", "flex");
}, access_token_data.expires_in * 1000);
} else {
access_token_data = {};