updated to use drupal once function instead of jquery once
This commit is contained in:
parent
469bd8005d
commit
4c8c26f4b2
5 changed files with 12 additions and 11 deletions
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
// Hide facets over the limit.
|
||||
facetsList.each(function () {
|
||||
$(this).children('li:gt(' + zero_based_limit + ')').once('applysoftlimit').hide();
|
||||
$(once('applysoftlimit', $(this).children('li:gt(' + zero_based_limit + ')'))).hide();
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue