diff --git a/js/index.js b/js/index.js index d2da0338f..a7e44b67e 100644 --- a/js/index.js +++ b/js/index.js @@ -26,8 +26,9 @@ function showChangeLog(appid) { function showReadme(appid) { var app = appNameToApp(appid); function show(contents) { + document.contents = contents; if (!contents) return; - showPrompt(app.name + " README", marked(contents), {ok: true}, false).catch(() => {}); + showPrompt(app.name + " Documentation", marked(contents), {ok: true}, false).catch(() => {}); } httpGet(`apps/${appid}/README.md`).then(show).catch(()=>show("No README available")); }