We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5419e1 + a67ae5f commit 6b0e6e4Copy full SHA for 6b0e6e4
js/config.js
@@ -82,7 +82,18 @@ $(document).ready(function() {
82
var $checked = $(this).find('.external-modules-input-element:checked');
83
84
if ($checked.length === 0) {
85
- $checked = $(this).find('.external-modules-input-element[value="default"]');
+ $(this).find('.external-modules-input-element').each(function() {
86
+ // This is a workaround for an EM bug that does not load
87
+ // radios default values properly.
88
+ if (typeof this.attributes.checked !== 'undefined') {
89
+ $checked = $(this);
90
+ return false;
91
+ }
92
+ });
93
+
94
+ if ($checked.length === 0) {
95
+ $checked = $(this).find('.external-modules-input-element[value="default"]');
96
97
}
98
99
branchingLogicRadios($checked);
0 commit comments