Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 28, 2024
1 parent 300a7b2 commit ee699aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/fluent-editor/src/toolbar/toolbar-tip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export function generateToolbarTip(QuillToolbarTip: Constructor) {
}
super(quill, options)

this.quill.emitter.on(CHANGE_LANGUAGE_EVENT, () => {
this.destroyAllTips()
this.options = this.resolveOptions(options)
this.createToolbarTip()
})
}
this.quill.emitter.on(CHANGE_LANGUAGE_EVENT, () => {
this.destroyAllTips()
this.options = this.resolveOptions(options)
this.createToolbarTip()
})
}

resolveOptions(options: Partial<Record<string, any>>): Record<string, any> {
const result = super.resolveOptions(options)
Expand Down

0 comments on commit ee699aa

Please sign in to comment.