gd-bs 6.6.97 → 6.6.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.97",
3
+ "version": "6.6.98",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -125,7 +125,7 @@ class _FloatingUI {
125
125
  });
126
126
 
127
127
  // Create the scroll event
128
- document.addEventListener("scroll", (ev) => {
128
+ window.addEventListener("scroll", (ev) => {
129
129
  // Wait for the other events to run
130
130
  setTimeout(() => {
131
131
  // Parse the events