Make avatar images in user card a higher res

This commit is contained in:
Jeremy "EndenDragon" Zhang 2018-03-11 01:28:58 -08:00 committed by GitHub
parent 2016540c78
commit 1da5c3ddca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -792,7 +792,7 @@
$("#usercard .badges ." + badge).hide();
}
}
$("#usercard .avatar").attr("src", data.avatar_url);
$("#usercard .avatar").attr("src", data.avatar_url + "?size=512");
$("#usercard .identity .username").text(data.username);
$("#usercard .identity .discriminator").text(zeroPad(data.discriminator));
$("#usercard .identity .discriminator").text(zeroPad(data.discriminator));
@ -1757,4 +1757,4 @@
function submit_unauthenticated_captcha() { // To be invoked when recaptcha is completed
$('#recaptchamodal').modal('close');
$("#submit-unauthenticated-captcha-btn").click();
}
}