Explorar el Código

HUE-3147 [hive] Explain button causes JS error

Johan Ahlen hace 9 años
padre
commit
0a768c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
   }