@whitesev/domutils 1.3.3 → 1.3.4

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/dist/index.umd.js CHANGED
@@ -870,7 +870,7 @@
870
870
  super(option);
871
871
  }
872
872
  /** 版本号 */
873
- version = "2024.9.23";
873
+ version = "2024.10.19";
874
874
  attr(element, attrName, attrValue) {
875
875
  let DOMUtilsContext = this;
876
876
  if (typeof element === "string") {
@@ -1034,7 +1034,7 @@
1034
1034
  return element.innerHTML;
1035
1035
  }
1036
1036
  else {
1037
- if (html instanceof Node) {
1037
+ if (html instanceof Element) {
1038
1038
  html = html.innerHTML;
1039
1039
  }
1040
1040
  if ("innerHTML" in element) {