Skip to content

Commit

Permalink
Fix PersistentRange#toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeJellinek committed Sep 11, 2023
1 parent c9553f0 commit d6a91a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/common/lib/range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class PersistentRange {
}

toString(): string {
return `${this.startContainer}:${this.startOffset}-${this.endContainer}:${this.endOffset}`;
return this.toRange().toString();
}
}

Expand Down

0 comments on commit d6a91a0

Please sign in to comment.