Skip to content

Commit

Permalink
Actualiza botones en script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioZF09 authored Aug 14, 2024
1 parent 247f892 commit 10cc297
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const texto = document.getElementById("texto");
const nuevoTexto = document.getElementById("nuevoTexto");
const apartado = document.getElementById("apartado");
const btnCopiar = document.querySelector("#copiar");
const btnEncriptar = document.querySelector("#encriptar");
const btnDesencriptar = document.querySelector("#desencriptar");
Expand Down Expand Up @@ -39,7 +40,7 @@ function modificarDisenio() {
//Elimina la imagen
document.getElementById("imagenParrafos").style.display = "none";
//Da altura al elemento apartado
document.getElementById("apartado").style.height = "80%";
apartado.style.height = "80%";
//Da altura al elemento nuevoTexto
nuevoTexto.style.height = "80%";
//Eliminan atributo hidden de nuevoTexto y botón copiar
Expand Down

0 comments on commit 10cc297

Please sign in to comment.