diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 143e967..40a3a41 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -2550,6 +2550,11 @@ const topaz = (() => { }); } + // Detectar disponibilidad al cargar; ocultar botones si no hay pad + _loadScript().then(ok => { + if (!ok) document.querySelectorAll('.btn-topaz').forEach(b => b.style.display = 'none'); + }); + function _toast(msg) { const t = document.createElement('div'); t.style.cssText = 'position:fixed;bottom:24px;left:50%;transform:translateX(-50%);'