@@ -29,7 +29,7 @@ var YourCode = (function(yc) {
2929
3030 /**
3131 * initiate the selected count and observe inputs
32- *
32+ *
3333 * @return void
3434 */
3535 function init ( ) {
@@ -42,7 +42,7 @@ var YourCode = (function(yc) {
4242
4343 /**
4444 * allow custom language overrides
45- *
45+ *
4646 * @param object the custom language
4747 * @return void
4848 */
@@ -52,7 +52,7 @@ var YourCode = (function(yc) {
5252
5353 /**
5454 * squeal if admin is submitting inline with nothing checked
55- *
55+ *
5656 * @param object the event
5757 * @return void
5858 */
@@ -65,7 +65,7 @@ var YourCode = (function(yc) {
6565
6666 /**
6767 * sync all check boxes on this page with the master
68- *
68+ *
6969 * @param object the event
7070 * @return void
7171 */
@@ -80,7 +80,7 @@ var YourCode = (function(yc) {
8080
8181 /**
8282 * set all check boxes on this page on/off
83- *
83+ *
8484 * @param bool true for checked, false for unchecked
8585 * @return void
8686 */
@@ -101,12 +101,12 @@ var YourCode = (function(yc) {
101101
102102 /**
103103 * adjust checked count on-the-fly
104- *
104+ *
105105 * @param object the event
106106 * @return void
107107 */
108108 function keepCount ( e ) {
109- if ( this . prop ( " checked" ) ) {
109+ if ( this . checked ) {
110110 ++ checkCount ;
111111 } else {
112112 -- checkCount ;
@@ -116,7 +116,7 @@ var YourCode = (function(yc) {
116116
117117 /**
118118 * update the go button text to reflect the currently checked count
119- *
119+ *
120120 * @return void
121121 */
122122 function updateCheckCount ( ) {
@@ -125,7 +125,7 @@ var YourCode = (function(yc) {
125125
126126 /**
127127 * clear all check boxes when the clear button is clicked
128- *
128+ *
129129 * @param object the event
130130 * @return void
131131 */
@@ -135,7 +135,7 @@ var YourCode = (function(yc) {
135135
136136 /**
137137 * count the initially checked boxes
138- *
138+ *
139139 * @return void
140140 */
141141 function initialCount ( ) {
0 commit comments