Commit 1769937d authored by Laura Schlimmer's avatar Laura Schlimmer
Browse files

fix undefined result_pane in result view

parent 6a3933f9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -112,11 +112,9 @@ FnordMetric.views.QueryPlayground = function() {
      result_pane.style.top = "";
      result_pane.style.overflowY = "auto";
    } else {
      console.log("vertical split");
      editor_pane.style.float = "";
      editor_pane.style.width = "100%";
      var editor_height = editorViews[current_view].getHeight();
      console.log(editor_height);
      editor_pane.style.height = editor_height + "px";
      result_pane.style.width = "100%";
      result_pane.style.left = 0;
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ FnordMetric.util.queryResultView = function() {
      table_container.className = "result_card";
      elem.appendChild(table_container);
      renderTable(tables[i], table_container);
      result_pane.style.height = "auto";
      elem.style.height = "auto";
    }
  }