Merge vizchart and viztable DOM objects into a single one.
We never show both at once anyway.
diff --git a/render.html b/render.html
index d71eed7..5199565 100644
--- a/render.html
+++ b/render.html
@@ -22,7 +22,7 @@
div#editmenu a:hover {
background: #aaa;
}
- #vizchart, #viztable {
+ #vizchart {
position: relative;
overflow: hidden;
top: 0;
@@ -76,7 +76,6 @@
<div id='vizstatus'><div id='statustext'></div><div id='statussub'></div></div>
<div id='vizraw'></div>
<div id='vizchart'></div>
-<div id='viztable'></div>
<div id='vizlog'></div>
<script>
diff --git a/render.js b/render.js
index 4673ce1..daf84ce 100644
--- a/render.js
+++ b/render.js
@@ -1248,13 +1248,7 @@
var gridoptions = {
intensify: intensify
};
-
- var el;
- if (chartops) {
- el = document.getElementById('vizchart');
- } else {
- el = document.getElementById('viztable');
- }
+ var el = document.getElementById('vizchart');
enqueue(queue, 'gentable', function(grid, done) {
if (chartops) {
@@ -1435,7 +1429,6 @@
return func.apply(null, pre_args.concat(post_args));
} catch (e) {
$('#vizchart').hide();
- $('#viztable').hide();
$('#vizstatus').css('position', 'relative');
$('.vizstep').show();
err(e);