debug: add button to log item cache for avatar sandbox

This commit is contained in:
Index 2024-07-03 04:08:29 -05:00
parent 6d290f5648
commit db00c107b8
2 changed files with 5 additions and 1 deletions

View file

@ -262,6 +262,10 @@ async function PageLoad() {
LoadUser(LoadAsset.previousElementSibling.value)
}
})
document.getElementById('view-cache').addEventListener('click', function(){
console.log('Cache: ', ItemCache)
})
}
async function UpdateAvatar() {

View file

@ -41,7 +41,7 @@
<h6 class="card-header">
<i class="fad fa-user-crown"></i>
Avatar Sandbox
<span class="badge bg-warning float-end">Poly+</span>
<span class="badge bg-warning float-end" id="view-cache" style="cursor: pointer;" data-bs-toggle="tooltip" data-bs-title="Debug: Item Cache">Poly+</span>
</h6>
<div class="card-body">
<iframe id="viewFrame" style="width: 100%; height: 314px; border-radius: 0.65rem;"></iframe>