Sha256: 06e5fb00bb7e062b6d80149ad6bfeba5e301c9169ea12e6d2d09266809bc6e7f
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
(function() { $(function() { $('.disabled').each(function() { $(this).attr('tabindex', '-1'); $(this).find('a').attr('tabindex', '-1'); return $(this).find('input, select, textarea').addClass('disabled').attr('tabindex', '-1').attr('readonly', 'readyonly'); }); $('body').on('click', '.disabled, .disabled *', function(e) { e.preventDefault(); return false; }); }); }).call(this);
Version data entries
3 entries across 3 versions & 1 rubygems