@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.
@@ -867,7 +867,7 @@ var DOMUtils = (function () {
867
867
  super(option);
868
868
  }
869
869
  /** 版本号 */
870
- version = "2024.9.23";
870
+ version = "2024.10.19";
871
871
  attr(element, attrName, attrValue) {
872
872
  let DOMUtilsContext = this;
873
873
  if (typeof element === "string") {
@@ -1031,7 +1031,7 @@ var DOMUtils = (function () {
1031
1031
  return element.innerHTML;
1032
1032
  }
1033
1033
  else {
1034
- if (html instanceof Node) {
1034
+ if (html instanceof Element) {
1035
1035
  html = html.innerHTML;
1036
1036
  }
1037
1037
  if ("innerHTML" in element) {