Skip to content

Commit f8e857c

Browse files
author
Rob Myers
committed
Fix missing close brace in rules.js.
1 parent f65544b commit f8e857c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

wordpress-plugin/js/rules.js

+9-10
Original file line numberDiff line numberDiff line change
@@ -127,20 +127,19 @@ Rules.section304Analysis = function () {
127127
Rules.addFlag('G.ii.a');
128128
}
129129
if (Values.d_notice_begin > Values.current_year) {
130-
// time traveler flag -- applies where the present day is between
130+
// time traveler flag -- applies where the present day is between
131131
// the 304(c) and 304(d) notice windows
132132
Rules.addFlag('A.iii.a');
133133
} else if (Values.d_notice_end < Values.current_year) {
134134
Rules.addFlag('A.ii.a');
135-
}
136-
}
137-
else if (Values.notice_end < Values.current_year) {
138-
Rules.addFlag('A.ii.a');
139-
else {
140-
// Here for clarity / to reflect decision tree structure
141-
// But note that we set it as the result above.
142-
result = 's2q2a';
143-
}
135+
}
136+
} else if (Values.notice_end < Values.current_year) {
137+
Rules.addFlag('A.ii.a');
138+
} else {
139+
// Here for clarity / to reflect decision tree structure
140+
// But note that we set it as the result above.
141+
result = 's2q2a';
142+
}
144143
}
145144
if ((Values.d_term_begin != undefined)
146145
&& (Values.term_begin != undefined)) {

0 commit comments

Comments
 (0)