Update web/templates/entry_view.html
This commit is contained in:
parent
41da66b9b2
commit
148e3e6bce
@ -586,7 +586,22 @@ function showToast(message, duration = 3000) {
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!-- DEBUG: prove scripts run on load -->
|
||||
<script>
|
||||
(function(){
|
||||
// 1) blatant visual badge
|
||||
const badge = document.createElement('div');
|
||||
badge.textContent = 'HL script loaded';
|
||||
badge.style.cssText = 'position:fixed;bottom:8px;right:8px;background:#111;color:#fff;padding:6px 10px;border-radius:6px;font:12px system-ui;z-index:99999;opacity:.85';
|
||||
document.body.appendChild(badge);
|
||||
setTimeout(()=>badge.remove(), 1500);
|
||||
|
||||
// 2) console beacons for all relevant lifecycle events
|
||||
console.log('[HL] inline script evaluated. readyState=', document.readyState);
|
||||
document.addEventListener('DOMContentLoaded', () => console.log('[HL] DOMContentLoaded'));
|
||||
window.addEventListener('pageshow', (e) => console.log('[HL] pageshow (bfcache=', e.persisted, ')'));
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user