jsquery_node 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsquery.js +2 -2
- package/jsquery.ts +2 -2
- package/package.json +1 -1
package/jsquery.js
CHANGED
package/jsquery.ts
CHANGED
|
@@ -211,8 +211,8 @@ export const { $, JSQuery } = (() => {
|
|
|
211
211
|
checked(): boolean;
|
|
212
212
|
checked(val: boolean): this;
|
|
213
213
|
checked(val?: boolean): boolean| this {
|
|
214
|
-
if (val == undefined) return (this as any).checked;
|
|
215
|
-
(this as any).checked = val;
|
|
214
|
+
if (val == undefined) return (this.elt as any).checked;
|
|
215
|
+
(this.elt as any).checked = val;
|
|
216
216
|
return this;
|
|
217
217
|
}
|
|
218
218
|
//events
|