浏览代码

HUE-3147 [hive] Explain button causes JS error

Johan Ahlen 9 年之前
父节点
当前提交
0a768c40e0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/beeswax/src/beeswax/templates/execute.mako

+ 1 - 1
apps/beeswax/src/beeswax/templates/execute.mako

@@ -1954,7 +1954,7 @@ function resizeLogs() {
     $("#log pre:eq(1)").css("overflow", "auto").height(_height - 50);
   }
   if ($("#query pre:eq(1)").length > 0) {
-    var _height = Math.max($(window).height() - $("#log pre:eq(1)").offset().top, 250);
+    var _height = Math.max($(window).height() - $("#query pre:eq(1)").offset().top, 250);
     $("#query").height(_height - 10);
     $("#query pre:eq(1)").css("overflow", "auto").height(_height - 50);
   }