Skip to content

Commit

Permalink
tasks/updater/js.rb: Fix popper reference
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Sep 18, 2022
1 parent 49a70a4 commit c548a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/updater/js.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def update_javascript_assets
'assets/javascripts/bootstrap-global-this-define.js' => <<~JS,
// Set a `globalThis` so that bootstrap components are defined on window.bootstrap instead of window.
window['bootstrap'] = {
Popper: window.Popper,
"@popperjs/core": window.Popper,
_originalGlobalThis: window['globalThis']
};
window['globalThis'] = window['bootstrap'];
Expand Down

0 comments on commit c548a9a

Please sign in to comment.