Sha256: 1fb8a16ae2c31ccd601c5687f7b79040d7dc0ba4b88978981b2a5958643be9b9

Contents?: true

Size: 474 Bytes

Versions: 7

Compression:

Stored size: 474 Bytes

Contents

//= require highcharts
//= require chartkick
//= require_tree .

$(document).ready(function() {
  $('.tabs ul li').on('click', function() {
    var div = $(this).find('a').attr('container');
    $('.tabs ul li').removeClass('is-active');
    $(this).addClass('is-active');

    $(".tabbed").addClass('is-hidden');
    $(div).removeClass('is-hidden');
  });

  $('#affected-users-button').on('click', function() {
    $('#affected-users').toggleClass('is-hidden');
  })

});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
errdo-0.12.14 app/assets/javascripts/errdo/errdo.js
errdo-0.12.13 app/assets/javascripts/errdo/errdo.js
errdo-0.12.12 app/assets/javascripts/errdo/errdo.js
errdo-0.12.11 app/assets/javascripts/errdo/errdo.js
errdo-0.12.10 app/assets/javascripts/errdo/errdo.js
errdo-0.12.9 app/assets/javascripts/errdo/errdo.js
errdo-0.12.8 app/assets/javascripts/errdo/errdo.js