gd-bs 6.7.3 → 6.7.4

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.
@@ -613,7 +613,7 @@ var _Dropdown = /** @class */ (function (_super) {
613
613
  return;
614
614
  }
615
615
  // Get the menu
616
- var menu = this.el.querySelector(".dropdown-menu") || this.el.querySelector("select") || this.el.classList.contains("dropdown-menu");
616
+ var menu = this.el.querySelector(".dropdown-menu") || this.el.querySelector("select") || (this.el.classList.contains("dropdown-menu") ? this.el : null);
617
617
  if (menu) {
618
618
  // Clear the menu
619
619
  while (menu.firstChild) {