aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/src/dropdown.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 86203c983..057cfa433 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()
}