diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 86203c983d..057cfa4334 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -186,6 +186,7 @@ const Dropdown = (($) => { } update() { + this._inNavbar = this._detectNavbar() if (this._popper !== null) { this._popper.scheduleUpdate() }