Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TatuLund committed Jan 8, 2024
1 parent a8aee08 commit a19bfde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ window.Vaadin.Flow.tinymceConnector = {
setEnabled : function(enabled) {
// Debounce is needed if mode is attempted to be changed more than once
// during the attach
readonlyTimeout.clear();
clearTimeout(readonlyTimeout);
readonlyTimeout = setTimeout(() => {
this.editor.mode.set(enabled ? 'design' : 'readonly');
}, 20);
Expand Down

0 comments on commit a19bfde

Please sign in to comment.