Skip to content

Commit

Permalink
fix(cfb-slug-input): correct scheduleOnce call
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Metzener <jonas.metzener@adfinis.com>
  • Loading branch information
derrabauke and anehx committed Feb 16, 2024
1 parent 8289bbd commit 0111c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form-builder/addon/components/cfb-slug-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class CfbSlugInputComponent extends Component {
calculatePadding(element) {
// Ensures that the element is already visible in combined use
// with modal dialogs.
scheduleOnce("afterRender", this, this._calculatePadding, element);
scheduleOnce("afterRender", this, "_calculatePadding", element);
}

_calculatePadding(element) {
Expand Down

0 comments on commit 0111c9e

Please sign in to comment.