text-generation-webui/js/update_big_picture.js

8 lines
250 B
JavaScript
Raw Normal View History

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