diff --git a/src/snek/templates/web.html b/src/snek/templates/web.html
index 2958aff..fc0d5c9 100644
--- a/src/snek/templates/web.html
+++ b/src/snek/templates/web.html
@@ -221,22 +221,6 @@ document.addEventListener('keydown', function(event) {
});
// --- Image click-to-zoom (delegated) ---
-messagesContainer.addEventListener('click', (e) => {
- if (e.target.tagName !== 'IMG' || e.target.classList.contains('avatar')) return;
- const img = e.target;
- const overlay = document.createElement('div');
- overlay.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.9);display:flex;justify-content:center;align-items:center;z-index:9999;'
- const fullImg = document.createElement('img');
- const urlObj = new URL(img.src); urlObj.search = '';
- fullImg.src = urlObj.toString();
- fullImg.alt = img.alt;
- fullImg.style.maxWidth = '90%';
- fullImg.style.maxHeight = '90%';
- overlay.appendChild(fullImg);
- document.body.appendChild(overlay);
- overlay.addEventListener('click', () => document.body.removeChild(overlay));
-});
-
// --- Layout update ---
let lastMessage;
function updateLayout(doScrollDown) {