Skip to content

Commit

Permalink
jQuery fixes (config was ignored, if given as parameter)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladrusu committed Oct 15, 2024
1 parent 28b18f4 commit b48a33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ class Calendar extends BaseComponent {

static jQueryInterface(config) {
return this.each(function () {
const data = Calendar.getOrCreateInstance(this)
const data = Calendar.getOrCreateInstance(this, config)

if (typeof config !== 'string') {
return
Expand Down

0 comments on commit b48a33b

Please sign in to comment.