Skip to content

Commit

Permalink
fix CM issue in tab help plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Dec 13, 2023
1 parent f7e40ab commit 65f1a45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/CellInput/tab_help_plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const LastFocusWasForced = StateField.define({
export const tab_help_plugin = ViewPlugin.define(
(view) => ({
setready: (x) =>
view.dispatch({
view.state.update({
effects: [TabHelpEffect.of(x)],
}),
}),
Expand All @@ -47,7 +47,7 @@ export const tab_help_plugin = ViewPlugin.define(
},
blur: function (event, view) {
this.setready(false)
view.dispatch({
view.state.update({
effects: [LastFocusWasForcedEffect.of(false)],
})
},
Expand Down

0 comments on commit 65f1a45

Please sign in to comment.