diff --git a/public/embed.js b/public/embed.js
index 8213eea..16ab4bd 100644
--- a/public/embed.js
+++ b/public/embed.js
@@ -31,9 +31,9 @@
// a single glyph away, and a tap copies it for the board (OPG saw 5 of 6 characters twice, 2026-09-20)
box.style.cssText = 'display:inline-flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#1a0f3d,#2b1a63);color:#f1eefb;font:600 13px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 8px 30px rgba(130,71,229,.45),0 0 0 1px rgba(255,255,255,.08);letter-spacing:.02em;max-width:100%;cursor:pointer;-webkit-user-select:none;user-select:none';
var cells = code.split('').map(function (ch) { return '' + ch + ''; }).join('');
- box.innerHTML = '
PolHunter code 6 characters, tap to copy' + cells + '';
+ box.innerHTML = '
PolHunter code 6 characters, tap to copy' + cells + '';
box.setAttribute('title', 'Tap to copy ' + code);
- box.addEventListener('click', function () { var done = function () { var s = box.querySelector('span span'); if (s) s.textContent = 'copied, paste it on your board'; }; try { navigator.clipboard.writeText(code).then(done, done); } catch (e) { done(); } });
+ box.addEventListener('click', function () { var done = function () { var s = box.querySelector('[data-ph-hint]'); if (s) s.textContent = 'copied, paste it on your board'; }; try { navigator.clipboard.writeText(code).then(done, done); } catch (e) { done(); } });
el.appendChild(box);
}
var tries = 0, pending = null, done = false;