Skip to content

Commit

Permalink
update html tooltip to handle bootstrap 5 tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
mind84 committed Sep 13, 2024
1 parent b17cd00 commit 25c4163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap_server/tooltip.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def create_popup_node_item_from_form(
active = visibility
h += '\n' + SPACES
h += (
'<li class="{}"><a href="#popup_dd_[% $id %]_{}" data-toggle="tab">{}</a></li>'
'<li class="nav-item"><button class="nav-link {}" data-bs-toggle="tab" data-bs-target="#popup_dd_[% $id %]_{}">{}</button></li>'
).format(active, regex.sub('_', node.name()), node.name())
headers.append(h)

Expand Down

0 comments on commit 25c4163

Please sign in to comment.