diff --git a/crates/obscura-js/js/bootstrap.js b/crates/obscura-js/js/bootstrap.js index 85c50be..66f1f59 100644 --- a/crates/obscura-js/js/bootstrap.js +++ b/crates/obscura-js/js/bootstrap.js @@ -1072,6 +1072,7 @@ class Element extends Node { removeAttributeNS(ns, n) { _dom("remove_attribute", this._nid, String(n)); } hasAttribute(n) { return this.getAttribute(n) !== null; } hasAttributes() { return true; } // Simplified + getAttributeNames() { return _domParse("attribute_names", this._nid) || []; } get attributes() { const el = this; const names = _domParse("attribute_names", el._nid) || [];