Skip to content

Commit 4937190

Browse files
committed
Change default plot id and add initial div to DOM
1 parent bac7535 commit 4937190

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

devtools/test_dashboard_v2/devtools.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
var Tabs = {
33

44
getGraph: function(id) {
5-
id = id || 'default-plot';
5+
id = id || 'graph';
66
return document.getElementById(id);
77
},
88

99
fresh: function(id) {
10-
id = id || 'default-plot';
10+
id = id || 'graph';
1111

1212
var graphDiv = Tabs.getGraph(id);
1313

devtools/test_dashboard_v2/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
</header>
6868

6969
<section id="mocks-list"></section>
70-
<div id="plots"></div>
70+
<div id="plots">
71+
<div id="graph"></div>
72+
</div>
7173
<div id="snapshot"></div>
7274

7375
<script id="source" type="text/javascript" src="../../build/plotly.js"></script>

0 commit comments

Comments
 (0)