Skip to content

Commit

Permalink
bootstrap jQuery plugin - return 'this' to allow methods chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Nov 27, 2023
1 parent fbf14c2 commit 3ee07fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ const useBootstrapComponentDynamicImport = (importFiles, {
jQuerySetCallbackForElement(this, jQueryCreateCallbackObject(getJQueryComponentName(), args));

handleComponentLoad();

return this;
};
}

Expand Down

0 comments on commit 3ee07fc

Please sign in to comment.