summaryrefslogtreecommitdiff
path: root/simplyread.js
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-05-26 23:30:35 +0100
committerNick White <git@njw.me.uk>2011-05-26 23:30:35 +0100
commitde4c1e95c9950265cd5f2758bc34f887babce6f1 (patch)
treea13bbabd6eee48799a3a205b9f16fdf83d335435 /simplyread.js
parent22d71ac2138e71987247e0cd4744908bcc3564c0 (diff)
Add back title - seems to be useful on most articles
Diffstat (limited to 'simplyread.js')
-rwxr-xr-xsimplyread.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/simplyread.js b/simplyread.js
index 1a117e9..dff4172 100755
--- a/simplyread.js
+++ b/simplyread.js
@@ -65,6 +65,7 @@ function simplyread()
doc.body.innerHTML =
"<div style=\"width:38em; margin:auto;" +
" text-align:justify; font-family:sans;\">" +
+ "<h1 style=\"text-align: center\">"+doc.title+"</h1>" +
fresh.innerHTML + "</div>";
return 0;