jsquery_node 1.0.9 → 1.0.10

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.js +2 -2
  2. package/package.json +1 -1
package/jsquery.js CHANGED
@@ -198,8 +198,8 @@ export const { $, JSQuery } = (() => {
198
198
  }
199
199
  value(val) {
200
200
  if (val == undefined)
201
- return this.getProp("value");
202
- this.props({ value: val });
201
+ return this.elt.value;
202
+ this.elt.value = val;
203
203
  return this;
204
204
  }
205
205
  checked(val) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsquery_node",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "jsquery",
5
5
  "homepage": "https://github.com/chickencuber/jsquery_node#readme",
6
6
  "bugs": {