Skip to content

Commit

Permalink
fix: the properties of mf.registers can be modified.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Jul 17, 2024
1 parent b3193d5 commit 731eb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/mathfield-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@ import 'https://unpkg.com/@cortex-js/compute-engine?module';
/** @category Customization
* @inheritDoc Registers
*/
get registers(): Readonly<Registers> {
get registers(): Registers {
if (!this._mathfield) throw new Error('Mathfield not mounted');
const that = this;
return new Proxy(
Expand Down

0 comments on commit 731eb8d

Please sign in to comment.