make this more readable

This commit is contained in:
Gwenhael Le Moine 2011-07-07 14:23:35 +02:00
parent c398f18c38
commit 62e1b4c184

View file

@ -146,7 +146,11 @@ function format_help( ) {
}
function display_level( state, elt ) {
var starhtml = '<div class="gstar"><div id="blackboard">' + format_level( state, false ) + '</div><aside id="infos">' + format_infos( state ) + '</aside><aside id="help">' + format_help( state ) + '</aside></div>';
var starhtml = '<div class="gstar">';
starhtml += '<div id="blackboard">' + format_level( state, false ) + '</div>';
starhtml += '<aside id="infos">' + format_infos( state ) + '</aside>';
starhtml += '<aside id="help">' + format_help( state ) + '</aside>';
starhtml += '</div>';
$( elt ).html( starhtml );
}