diff --git a/public/index.html b/public/index.html index 7fb0703..9a4f29c 100644 --- a/public/index.html +++ b/public/index.html @@ -106,5 +106,12 @@ } catch (e) {} })(); + diff --git a/public/leaders.html b/public/leaders.html index d75da95..7b80d1b 100644 --- a/public/leaders.html +++ b/public/leaders.html @@ -68,5 +68,12 @@ show('week'); })(); + diff --git a/public/promo.html b/public/promo.html index 8015922..fb924b7 100644 --- a/public/promo.html +++ b/public/promo.html @@ -123,5 +123,12 @@ document.body.addEventListener('click', async e => { const b = e.target.closest('[data-copy]'); if (!b) return; const el = document.querySelector(b.dataset.copy); try { await navigator.clipboard.writeText(el.value); } catch (x) { el.select(); document.execCommand('copy'); } const t = b.textContent; b.textContent = 'Copied'; setTimeout(() => { b.textContent = t; }, 1200); }); })(); +