diff options
| author | Magnus Hagander | 2020-07-12 12:03:03 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2020-07-12 12:09:25 +0000 |
| commit | 6464c68d6af58ebab97a195a63e9703fd27aa3b3 (patch) | |
| tree | 221b94e907ce8a3e7cb3e93a0c895bfa2967b5c7 /media/js/featurematrix.js | |
| parent | af781017849efbfee771b20b8ea0b6bdc11922eb (diff) | |
Clean up javascript indentation
Remove tabs from indentation, which was in about half the files, and
make everything 4-space indentation, which is what most of the rest
used.
Diffstat (limited to 'media/js/featurematrix.js')
| -rw-r--r-- | media/js/featurematrix.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/js/featurematrix.js b/media/js/featurematrix.js index 735c9fca..5c9bb9a4 100644 --- a/media/js/featurematrix.js +++ b/media/js/featurematrix.js @@ -15,8 +15,8 @@ $(document).ready(function(){ // Lastly, if at this point an entire row is obsolete, then hide $('tbody tr').each(function(i, el) { var $tr = $(el), - visible_count = $tr.find('td:not(.hidden)').length, - obsolete_count = $tr.find('td.fm_obs:not(.hidden)').length; + visible_count = $tr.find('td:not(.hidden)').length, + obsolete_count = $tr.find('td.fm_obs:not(.hidden)').length; // if visible count matches obsolete count, then hide this row $tr.toggle(visible_count !== obsolete_count); }); |
