Skip to content

Commit

Permalink
BS5: tooltip trigger on hover in form filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Dec 2, 2024
1 parent d018935 commit 95f428c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions assets/src/legacy/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ var lizLayerFilterTool = function () {
}

// Add tooltip
$('#filter-content [title]').tooltip();
$('#filter-content [title]').tooltip({
trigger: 'hover'
});
}

// Launch the form filter feature
Expand Down Expand Up @@ -1344,7 +1346,9 @@ var lizLayerFilterTool = function () {
});

// Add tooltip
$('#liz-filter-box-' + lizMap.cleanName(field_item.title) + ' [title]').tooltip();
$('#liz-filter-box-' + lizMap.cleanName(field_item.title) + ' [title]').tooltip({
trigger: 'hover'
});

}

Expand Down

0 comments on commit 95f428c

Please sign in to comment.