Skip to content

Commit

Permalink
Init horizontal filtered on load
Browse files Browse the repository at this point in the history
  • Loading branch information
leibowitz authored and manelclos committed May 12, 2020
1 parent 0326871 commit 52bfd28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions smart_selects/static/smart-selects/admin/js/bindfields.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
$.each($(".chained"), function (index, item) {
initItem(item);
});
$.each($(".filtered"), function (index, item) {
if (item.hasAttribute('data-chainfield')) {
initItem(item);
}
});
});

$(document).ready(function () {
Expand Down

0 comments on commit 52bfd28

Please sign in to comment.