Commit e069416f authored by unknown's avatar unknown

Set cytocanvas to default canvas

parent 00d92eff
......@@ -224,9 +224,12 @@ function start(settings, login, password) {
$('#generate-btn').show();
$('#addToGraphButton').hide();
$('#contextMenu').hide();
$('#graph2DMenu').hide();
}
});
$('#graphselector #cytocanvas').trigger("click"); // To set cytocanvas as default canvas
$( "#queryButton" ).click(query);
$( "#keyword" ).keypress(function(e) {
if(e.which == 13) {
......
......@@ -75,8 +75,8 @@
<button type="button" class="btn" id="toggle-right-panel-canvas"><i class="fa fa-chevron-left" aria-hidden="true"></i></button>
<div id="topButtons">
<div id="graphselector" class="btn-group btn-group-toggle">
<button type="button" id="threecanvas" class="btn active">Threecanvas</button>
<button type="button" id="cytocanvas" class="btn">Cytocanvas</button>
<button type="button" id="cytocanvas" class="btn active">Cytocanvas</button>
<button type="button" id="threecanvas" class="btn">Threecanvas</button>
</div>
<div id="generate-btn-container" hidden>
<button id="generate-btn" class="btn btn-primary" disabled>Generate graph</button>
......
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