Skip to content

Commit

Permalink
document.title
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Nov 8, 2019
1 parent b7731b3 commit 3288af5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions static/league.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ function clear(logo, title) {
document.querySelector('.lb-logo-back').innerHTML = `<img src="${logo}">`;
}

document.title = title
lb_title.innerText = title;

while (lb_items.lastChild) {
Expand Down
1 change: 1 addition & 0 deletions static/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function clear(logo, title) {
document.querySelector('.lb-logo-back').innerHTML = `<img src="${logo}">`;
}

document.title = title
lb_title.innerText = title;

lb_email.value = '';
Expand Down
2 changes: 1 addition & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>deepracer</title>
<title>DeepRacer</title>
<link rel="stylesheet" href="/index.css">
<link rel="stylesheet" href="/flip.css">
</head>
Expand Down
2 changes: 1 addition & 1 deletion views/league.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>league</title>
<title>DeepRacer Leaderboard</title>
<link rel="stylesheet" href="/league.css">
<link rel="stylesheet" href="/flip.css">
<link rel="stylesheet" href="/pop.css">
Expand Down
2 changes: 1 addition & 1 deletion views/submit.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>submit</title>
<title>DeepRacer League Submit</title>
<link rel="stylesheet" href="/submit.css">
<link rel="stylesheet" href="/flip.css">
<link rel="stylesheet" href="/pop.css">
Expand Down
2 changes: 1 addition & 1 deletion views/timer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>timer</title>
<title>DeepRacer Timer</title>
<link rel="stylesheet" href="/timer.css">
</head>

Expand Down

0 comments on commit 3288af5

Please sign in to comment.