Commit 706db774 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/builder.js: only one locus line when this is enough

We should do that with CSS.
parent 2c4b06da
......@@ -681,7 +681,13 @@ Builder.prototype = {
key = key_list[k];
if (key.substring(0,2) == "TR" && last_key.substring(0,2) == "IG" && keys > 0) {
span2.appendChild(document.createElement("br"));
if (key_list.length > 7)
span2.appendChild(document.createElement("br"));
if (key_list.length < 7) {
var spacer = document.createElement("span")
spacer.className = "systemBoxNameMenu"
span2.appendChild(spacer);
}
}
last_key = key ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment