Skip to content

Commit

Permalink
fix line breaks that broke the html redirection page
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnar committed Aug 6, 2015
1 parent d4bc3c1 commit 97b2e0a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions component/content/article.html
Expand Up @@ -21,11 +21,8 @@
var id = GetURLParameter("id");
if(typeof id !== 'undefined') {
window.location.href = "/articles/" + id + ".html";
} else {
document.getElementById("redirect-blurb").innerHTML = "<h1>This is a redirection page.</h1>
If you are seeing it, then either
javascript is not enabled or you did not specify a document id as
part of the url.";
} else {
document.getElementById("redirect-blurb").innerHTML = "<h1>This is a redirection page.</h1> If you are seeing it, then either javascript is not enabled or you did not specify a document id as part of the url.";
}

</script>
Expand Down

0 comments on commit 97b2e0a

Please sign in to comment.