Group the .attr calls
This commit is contained in:
@@ -69,7 +69,10 @@
|
|||||||
if (artistInfo.artistBio && artistInfo.artistBio.biography) {
|
if (artistInfo.artistBio && artistInfo.artistBio.biography) {
|
||||||
$("#artistBio").append(artistInfo.artistBio.biography);
|
$("#artistBio").append(artistInfo.artistBio.biography);
|
||||||
if (artistInfo.artistBio.largeImageUrl) {
|
if (artistInfo.artistBio.largeImageUrl) {
|
||||||
$("#artistImage").attr("src", artistInfo.artistBio.largeImageUrl);
|
$("#artistImage").attr({
|
||||||
|
"src", artistInfo.artistBio.largeImageUrl,
|
||||||
|
"class": "fancy"
|
||||||
|
});
|
||||||
$("#artistImageZoom").attr("href", artistInfo.artistBio.largeImageUrl);
|
$("#artistImageZoom").attr("href", artistInfo.artistBio.largeImageUrl);
|
||||||
$("#artistImage").show();
|
$("#artistImage").show();
|
||||||
$("#artistInfoTable").show();
|
$("#artistInfoTable").show();
|
||||||
|
|||||||
Reference in New Issue
Block a user