jsquery_node 1.0.7 → 1.0.9

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.
Files changed (2) hide show
  1. package/jsquery.ts +2 -2
  2. package/package.json +1 -1
package/jsquery.ts CHANGED
@@ -204,8 +204,8 @@ export const { $, JSQuery } = (() => {
204
204
  value(): string;
205
205
  value(val: string): this;
206
206
  value(val?: string): string | this {
207
- if (val == undefined) return this.getProp("value");
208
- this.props({value: val});
207
+ if (val == undefined) return (this.elt as any).value;
208
+ (this.elt as any).value = val;
209
209
  return this;
210
210
  }
211
211
  checked(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsquery_node",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "jsquery",
5
5
  "homepage": "https://github.com/chickencuber/jsquery_node#readme",
6
6
  "bugs": {