diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 86203c983dff158ff432ef3eca057c0882071637..057cfa4334ad259a581cb58b48ae859f95f3a985 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() }