Skip to content

Commit 3ee07fc

Browse files
committed
bootstrap jQuery plugin - return 'this' to allow methods chaining
1 parent fbf14c2 commit 3ee07fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_dev/js/utils/dynamicImports/useBootstrapComponentDynamicImport.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ const useBootstrapComponentDynamicImport = (importFiles, {
257257
jQuerySetCallbackForElement(this, jQueryCreateCallbackObject(getJQueryComponentName(), args));
258258

259259
handleComponentLoad();
260+
261+
return this;
260262
};
261263
}
262264

0 commit comments

Comments
 (0)