From f52f122a6b20c195ae5a459707c230534e5e21d3 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 21 Oct 2013 12:50:53 +0000 Subject: [PATCH] feature(help) show: add cssSet, list-style-type --- lib/client/help.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/client/help.js b/lib/client/help.js index 7d26166e..8db66811 100644 --- a/lib/client/help.js +++ b/lib/client/help.js @@ -23,6 +23,18 @@ var CloudCmd, Util, DOM; this.show = function(){ Images.showLoad({top:true}); + DOM.cssSet({ + id : 'help-css', + inner : '#help {' + + 'white-space' + ': normal;' + + 'margin' + ': 25px;' + + '}' + + + '#help li {' + + 'list-style-type' + ': disc;' + + '}' + }); + DOM.ajax({ url: '/HELP.md', success: function (pData){ @@ -34,7 +46,7 @@ var CloudCmd, Util, DOM; success:function(pResult){ var lDiv = DOM.anyload({ name : 'div', - style : 'white-space: normal; margin: 25px', + id : 'help', inner : pResult.toString() });