Commit 83a9ff2d authored by Mikaël Salson's avatar Mikaël Salson
Browse files

browser: select just one germline by shift+click on it

parent 1bafe289
......@@ -768,8 +768,12 @@ Builder.prototype = {
span.appendChild(span_system)
span.appendChild(checkbox)
span.appendChild(document.createTextNode(key))
span.onclick = function () {
this.firstChild.nextSibling.click();
span.onclick = function (e) {
if (e.shiftKey) {
m.keep_one_active_system(this.firstChild.nextSibling.textContent)
} else {
this.firstChild.nextSibling.click();
}
}
span2.appendChild(span)
......
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