Commit e5f05d3d authored by Paul Asmuth's avatar Paul Asmuth
Browse files

js_api: cleaning up

parent 096bf593
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -28,8 +28,9 @@ FnordMetric.js_api = (function(){
        tick: 60,
        title: "Login and Signup",
        widget_key: "loginandsignup",
        width: 75,
        xticks: 300
        width: 100,
        xticks: 300,
        ext: true
      });

      widgets.push(widget);
+2 −2
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ FnordMetric.widgets.timeseriesWidget = function(){
    }

    function draw_layout(){
     if(!opts.no_headbar){
     if(!opts.ext && !opts.no_headbar){
        $(opts.elem).append(
          $('<div></div>')
            .addClass('headbar')
@@ -187,7 +187,7 @@ FnordMetric.widgets.timeseriesWidget = function(){
            })
        );

      if(opts.async_chart){
      if(!opts.ext && opts.async_chart){
        $('.headbar', opts.elem).prepend(
          $('<div></div>')
            .addClass('button ml')