This commit is contained in:
shocknet-justin 2025-10-09 21:09:11 -04:00
parent ca72dae919
commit bb34e47e46
3 changed files with 8 additions and 3 deletions

View file

@ -156,13 +156,15 @@ $(() => {
// Reveal on click: show string below and remove veil/heading
codebox.off('click').on('click', (e) => {
e.preventDefault();
e.stopPropagation();
if (!codebox.hasClass('revealed')) {
e.preventDefault();
e.stopPropagation();
cs.text(connectString);
codebox.addClass('revealed');
codebox.find('.qr-veil').hide();
clickText.hide();
// Unbind to allow text selection and normal behavior after reveal
codebox.off('click');
}
});
})();