@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.esm.js CHANGED
@@ -864,7 +864,7 @@ class DOMUtils extends DOMUtilsEvent {
864
864
  super(option);
865
865
  }
866
866
  /** 版本号 */
867
- version = "2024.9.23";
867
+ version = "2024.10.19";
868
868
  attr(element, attrName, attrValue) {
869
869
  let DOMUtilsContext = this;
870
870
  if (typeof element === "string") {
@@ -1028,7 +1028,7 @@ class DOMUtils extends DOMUtilsEvent {
1028
1028
  return element.innerHTML;
1029
1029
  }
1030
1030
  else {
1031
- if (html instanceof Node) {
1031
+ if (html instanceof Element) {
1032
1032
  html = html.innerHTML;
1033
1033
  }
1034
1034
  if ("innerHTML" in element) {