mSel.add(opt, null);
}
- var areas = document.getElementsByClassName("overlayArea");
+ var areas = document.getElementsByClassName("autoFade");
for (var i = 0; i <= areas.length - 1; i++) {
areas[i].addEventListener("mouseup", uiEvHandler, false);
areas[i].addEventListener("mousemove", uiEvHandler, false);
function showUI() {
if (gUIHideCountdown <= 0) {
- var areas = document.getElementsByClassName('overlayArea');
+ var areas = document.getElementsByClassName('autoFade');
for (var i = 0; i <= areas.length - 1; i++) {
areas[i].classList.remove("hidden");
}
function maybeHideUI() {
gUIHideCountdown--;
if (gUIHideCountdown <= 0) {
- var areas = document.getElementsByClassName('overlayArea');
+ var areas = document.getElementsByClassName('autoFade');
for (var i = 0; i <= areas.length - 1; i++) {
areas[i].classList.add("hidden");
}
function toggleTrackArea() {
var fs = document.getElementById("trackArea");
if (fs.classList.contains("hidden")) {
+ prepareLoginButton();
fs.classList.remove("hidden");
showUI();
gTrackUpdateInterval = setInterval(updateTrackInfo, 1000);