Skip to content

Commit 717e1c6

Browse files
author
Maxofil
committed
fix
1 parent 9720490 commit 717e1c6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

assets/genericDropdown.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
(function ($) {
22
$.fn.genericDropdown = function (options) {
3-
return (function() {
4-
$(el).find('select[name ="genericDropdown"]').change(function (event) {
5-
$(this).closest('form').netteAjax(event);
6-
});
3+
$(this).on('change', function() {
4+
$(this).closest('form').netteAjax(event);
75
});
86
}
97
})(jQuery);

0 commit comments

Comments
 (0)