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`;