Skip to content

Commit

Permalink
Fix edit buttons not triggering change events
Browse files Browse the repository at this point in the history
The discussion in refactory-id#308 indicates that `this.change(this)` is incorrect, adding a listener instead of triggering a change event.
  • Loading branch information
BudgieInWA authored and tclaus committed Feb 22, 2021
1 parent 68a76a6 commit 8a4b6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
callbackHandler(this);

// Trigger onChange for each button handle
this.change(this);
this.$textarea.change();

// Unless it was the save handler,
// focusin the textarea
Expand Down

0 comments on commit 8a4b6ec

Please sign in to comment.