Skip to content

Commit

Permalink
$mol_view: restore right object path in id
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Jan 12, 2024
1 parent 7f03d22 commit d8f2046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion view/view/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ namespace $ {
}
}

@ $mol_memo.method
dom_id() {
return this.toString()
return this.toString().replace( /</g, '(' ).replace( />/g, ')' )
}

dom_node_external( next?: Element) {
Expand Down

0 comments on commit d8f2046

Please sign in to comment.