From 78dc631d787d36d58bce9b34d6314f51db854aa8 Mon Sep 17 00:00:00 2001 From: marsalva Date: Fri, 20 Feb 2026 17:43:39 +0000 Subject: [PATCH] Actualizar configuracion.html --- configuracion.html | 1 + 1 file changed, 1 insertion(+) diff --git a/configuracion.html b/configuracion.html index 6c940da..69b0b98 100644 --- a/configuracion.html +++ b/configuracion.html @@ -703,6 +703,7 @@ } catch(e) { showToast("Error de conexión", true); } } + function showToast(msg, isError = false) { const t = document.getElementById('toast'), m = document.getElementById('toastMsg'); t.className = `fixed bottom-5 right-5 px-6 py-3 rounded-lg shadow-xl transition-all duration-300 z-50 flex items-center gap-3 ${isError ? 'bg-red-600' : 'bg-slate-800'} text-white font-medium`;