Explorar o código

refactor(): removed commented out code

Torkel Ödegaard %!s(int64=9) %!d(string=hai) anos
pai
achega
28f890e42f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/plugins/panel/graph/graph_tooltip.js

+ 1 - 1
public/app/plugins/panel/graph/graph_tooltip.js

@@ -46,7 +46,7 @@ function ($, core) {
           return middle;
         } else if (series.data[middle][0] < posX) {
           lower = middle + 1;
-        } else { //if (series.data[middle][0] > posX) {
+        } else {
           upper = middle - 1;
         }
       }