New feature: enlarge character pictures on click (#4654)
This commit is contained in:
parent
cb836dd49c
commit
5fcee696ea
7 changed files with 77 additions and 7 deletions
7
js/update_big_picture.js
Normal file
7
js/update_big_picture.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
function updateBigPicture() {
|
||||
var existingElement = document.querySelector('.bigProfilePicture');
|
||||
if (existingElement) {
|
||||
var timestamp = new Date().getTime();
|
||||
existingElement.src = "/file/cache/pfp_character.png?time=" + timestamp;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue