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