Don't pass placement: right to tooltip()
Bootstrap flips it on its own, see https://getbootstrap.com/docs/5.2/components/tooltips/#directions
This commit is contained in:
parent
dd905b5aa8
commit
6b203c63fe
1 changed files with 1 additions and 2 deletions
|
@ -175,8 +175,7 @@ $(document).ready(function () {
|
|||
}
|
||||
}
|
||||
|
||||
var placement = $("html").attr("dir") === "rtl" ? "right" : "left";
|
||||
$(".leaflet-control .control-button").tooltip({ placement: placement, container: "body" });
|
||||
$(".leaflet-control .control-button").tooltip({ placement: "left", container: "body" });
|
||||
|
||||
var expiry = new Date();
|
||||
expiry.setYear(expiry.getFullYear() + 10);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue