Skip to content

Commit

Permalink
update: Fixed right arrow in webpage title
Browse files Browse the repository at this point in the history
* The javascript code which generated the webpage title used an html
  entity which did not render in the browser. This commit tries to fix
  this problem.

Signed-off-by: mr.Shu <[email protected]>
  • Loading branch information
mrshu committed Feb 22, 2015
1 parent 9b604e6 commit 16de959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/otwcrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function renderLevelTitle(name, level) {
newDiv.innerHTML = "<h1>"+title+"</h1>";

// also set the webpage title
document.title += ": " + title;
document.title += ": " + title.replace('&rarr;', '\u2192');
};
oReq.open("GET", "/games.json", true);
oReq.send();
Expand Down

0 comments on commit 16de959

Please sign in to comment.