diff options
author | Nick White <git@njw.me.uk> | 2011-05-22 00:54:57 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-05-22 00:54:57 +0100 |
commit | a77c6369bda2217903c0d184e1fa092db2c5c2d6 (patch) | |
tree | aaf9a3772e8f39318737ed3504cd764498c60514 /simplyread.js | |
parent | 395b773478158f970b792915058c9b15e2f7d1f5 (diff) |
Don't print title at top of page
Can result in double printing of the title, and we don't really need
it as it's in <title> anyway.
Diffstat (limited to 'simplyread.js')
-rwxr-xr-x | simplyread.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simplyread.js b/simplyread.js index 699a0c1..1a117e9 100755 --- a/simplyread.js +++ b/simplyread.js @@ -63,8 +63,8 @@ function simplyread() doc.styleSheets[i].disabled = true; doc.body.innerHTML = - "<div style=\"width:38em; margin:auto; text-align:justify; font-family:sans;\">" + - "<h1 style=\"text-align: center\">" + doc.title + "</h1>" + + "<div style=\"width:38em; margin:auto;" + + " text-align:justify; font-family:sans;\">" + fresh.innerHTML + "</div>"; return 0; |