Skip to content

Commit c842e7b

Browse files
committed
fixes #19 - :checked selector example verb tense
1 parent c5352a6 commit c842e7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/checked-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<code><![CDATA[
99
function countChecked() {
1010
var n = $("input:checked").length;
11-
$("div").text(n + (n <= 1 ? " is" : " are") + " checked!");
11+
$("div").text(n + (n === 1 ? " is" : " are") + " checked!");
1212
}
1313
countChecked();
1414
$(":checkbox").click(countChecked);

0 commit comments

Comments
 (0)