Sha256: e93728e01ba2e1532250f6bf9ee2811c3aaa081798fd6d0fade16e327b47bf81
Contents?: true
Size: 783 Bytes
Versions: 11
Compression:
Stored size: 783 Bytes
Contents
/* see test.html for example matchHeight usage */ /* testing page code only, you wont need this! */ (function() { $(function() { bindTestOptions(); }); var bindTestOptions = function() { resetTestOptions(); $('.option').change(resetTestOptions); }; var resetTestOptions = function() { // update test options $('.option').each(function() { var $this = $(this); $('body').toggleClass($this.val(), $this.prop('checked')); }); // update byRow option var byRow = $('body').hasClass('test-rows'); $.each($.fn.matchHeight._groups, function() { this.byRow = byRow; }); // update all heights $.fn.matchHeight._update(); }; })();
Version data entries
11 entries across 11 versions & 2 rubygems