Skip to content

Commit

Permalink
Correct .hidden class
Browse files Browse the repository at this point in the history
Fixes #1663
  • Loading branch information
philwareham committed Apr 30, 2021
1 parent f9f5e11 commit 776639e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions textpattern/textpattern.js
Expand Up @@ -2696,8 +2696,8 @@ $(document).ready(function () {
textpattern.Relay.callback('updateList', {data: $(this).serializeArray()});
}).on('submit', 'form.txp-search', function(e) {
e.preventDefault();
if ($(this).find('input[name="crit"]').val()) $(this).find('.txp-search-clear').removeClass('ui-helper-hidden');
else $(this).find('.txp-search-clear').addClass('ui-helper-hidden');
if ($(this).find('input[name="crit"]').val()) $(this).find('.txp-search-clear').removeClass('hidden');
else $(this).find('.txp-search-clear').addClass('hidden');
textpattern.Relay.callback('updateList', {data: $(this).serializeArray()});
}).on('updateList', '#txp-list-container', function() {
if ($(this).find('.multi_edit_form').txpMultiEditForm('select', {value: textpattern.Relay.data.selected}).find('table.txp-list').txpColumnize().length == 0) {
Expand Down

0 comments on commit 776639e

Please sign in to comment.