text-generation-webui/js/update_big_picture.js

8 lines
250 B
JavaScript
Raw Permalink Normal View History

function updateBigPicture() {
2023-12-27 18:59:23 +01:00
var existingElement = document.querySelector(".bigProfilePicture");
if (existingElement) {
var timestamp = new Date().getTime();
existingElement.src = "/file/cache/pfp_character.png?time=" + timestamp;
}
}