Fixed typo with new container
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
.pulse-text {
|
.pulse-text {
|
||||||
animation: colorPulse 1s infinite ease-in-out;
|
animation: colorPulse 1s infinite ease-in-out;
|
||||||
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
`);
|
`);
|
||||||
|
|
||||||
@@ -56,7 +57,7 @@
|
|||||||
timeDisplay.style.cssText = 'padding: 10px; margin-top: 10px; color: #fff; text-align: center; border-radius: 5px; font-weight: bold; border: 1px solid #444; transition: color 0.5s ease;';
|
timeDisplay.style.cssText = 'padding: 10px; margin-top: 10px; color: #fff; text-align: center; border-radius: 5px; font-weight: bold; border: 1px solid #444; transition: color 0.5s ease;';
|
||||||
timerElement.parentNode.insertBefore(timeDisplay, timerElement.nextSibling);
|
timerElement.parentNode.insertBefore(timeDisplay, timerElement.nextSibling);
|
||||||
timeDisplay.innerText = 'Calculating landing time...';
|
timeDisplay.innerText = 'Calculating landing time...';
|
||||||
timerContainer = ogTimer;
|
timerContainer = timeDisplay;
|
||||||
}
|
}
|
||||||
//const info = document.querySelector("#travel-root > div.viewport___cdEK9.stage0 > div.factWrapper___LvERA > div");
|
//const info = document.querySelector("#travel-root > div.viewport___cdEK9.stage0 > div.factWrapper___LvERA > div");
|
||||||
//info.remove();
|
//info.remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user