text-generation-webui/js/update_big_picture.js
2023-12-27 09:59:23 -08:00

8 lines
250 B
JavaScript

function updateBigPicture() {
var existingElement = document.querySelector(".bigProfilePicture");
if (existingElement) {
var timestamp = new Date().getTime();
existingElement.src = "/file/cache/pfp_character.png?time=" + timestamp;
}
}