Sha256: 27c03405874289626f0e4cdde51b6438e21b47e735eb98052dc6f0cd8d453e12
Contents?: true
Size: 1.05 KB
Versions: 6
Compression:
Stored size: 1.05 KB
Contents
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details // about supported directives. // //= require jquery //= require bootstrap/tooltip //= require_tree . $(function(){ $('tr[data-href]').on("click", function() { document.location = $(this).data('href'); }); }); $(function() { var flashCallback = function() { return $(".alert:not(.no-fade)").fadeOut(); }; $(".alert > .close").bind('click', (function(_this) { return function(ev) { return $(".alert").fadeOut(); }; })(this)); return setTimeout(flashCallback, 5000); });
Version data entries
6 entries across 6 versions & 1 rubygems