debug: add button to log item cache for avatar sandbox
This commit is contained in:
parent
6d290f5648
commit
db00c107b8
2 changed files with 5 additions and 1 deletions
|
|
@ -262,6 +262,10 @@ async function PageLoad() {
|
||||||
LoadUser(LoadAsset.previousElementSibling.value)
|
LoadUser(LoadAsset.previousElementSibling.value)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
document.getElementById('view-cache').addEventListener('click', function(){
|
||||||
|
console.log('Cache: ', ItemCache)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
async function UpdateAvatar() {
|
async function UpdateAvatar() {
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
<h6 class="card-header">
|
<h6 class="card-header">
|
||||||
<i class="fad fa-user-crown"></i>
|
<i class="fad fa-user-crown"></i>
|
||||||
Avatar Sandbox
|
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>
|
</h6>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<iframe id="viewFrame" style="width: 100%; height: 314px; border-radius: 0.65rem;"></iframe>
|
<iframe id="viewFrame" style="width: 100%; height: 314px; border-radius: 0.65rem;"></iframe>
|
||||||
|
|
|
||||||
Reference in a new issue