Fixed controller for SELECT input controls.

When using a SELECT input control, that control itself would be initialized with the call to "toggleWhatYouControl" instead of its child OPTION elements.
This commit is contained in:
Sipke Schoorstra
2015-04-27 08:36:38 +02:00
parent 363ae13ef7
commit ae17c75a5e
+2 -1
View File
@@ -180,7 +180,8 @@
else if (controller.is("option")) {
controller.parent().change(function() {
controller.toggleWhatYouControl();
}).each($(this).toggleWhatYouControl);
});
controller.each($(this).toggleWhatYouControl);
}
});
});