Skip to content

Commit

Permalink
Se sigue intentado arreglar el error de las imagenes
Browse files Browse the repository at this point in the history
  • Loading branch information
Astridvilpa committed Apr 25, 2024
1 parent f893fc7 commit c67a775
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Binary file added img/canal24.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 15 additions & 15 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ onOff.addEventListener("click", () => {
infoDate.style.display = "none";

if (tvStatus) {
sizeTv.style.backgroundImage = 'url("../img/pantalla.jpg")';
sizeTv.style.backgroundImage = 'url("./img/pantalla.jpg")';
} else {
sizeTv.style.backgroundImage = "none";
hideInfoChannel();
Expand Down Expand Up @@ -80,21 +80,21 @@ function hideInfoChannel() {

//Mapeo con los nombres de los canales y las Url de las imagenes
const channelImages = {
Noticias24: "../img/24.jpg",
"Fox Sport": "../img/2.gif",
Antena3: "../img/pasa.gif",
Cinemax: "../img/peli.gif",
Noticias24: "./img/noti.gif",
"Fox Sport": "./img/2.gif",
Antena3: "./img/pasa.gif",
Cinemax: "./img/peli.gif",
Atresplayer: "../img/tele5.gif",
LaSexta: "../img/6.gif",
"Gol t": "../img/7.gif",
Divinity: "../img/8.gif",
Telemundo: "../img/9.gif",
channelInfo: "../img/.png",
"Sin Signal": "../img/0.gif",
netflix: "../img/netflix.gif",
disney: "../img/disney.gif",
prime: "../img/primeV.gif",
Pluto: "../img/movi.gif",
LaSexta: "./img/6.gif",
"Gol t": "./img/7.gif",
Divinity: "./img/8.gif",
Telemundo: "./img/9.gif",
channelInfo: "./img/.png",
"Sin Signal": "./img/0.gif",
netflix: "./img/netflix.gif",
disney: "./img/disney.gif",
prime: "./img/primeV.gif",
Pluto: "./img/movi.gif",
};


Expand Down

0 comments on commit c67a775

Please sign in to comment.