From 3dec49c4d1f7189049c01d052ed206688bd793aa Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 10 Apr 2020 21:23:51 +0200 Subject: [PATCH] Attach tooltip to parent --- static/js/base.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/base.js b/static/js/base.js index a4c09540..1be10462 100644 --- a/static/js/base.js +++ b/static/js/base.js @@ -208,7 +208,8 @@ function autoCompleteNote(field_id, note_list_id, notes, notes_display, alias_pr html: true, placement: 'bottom', title: 'Loading...', - trigger: 'manual' + trigger: 'manual', + container: field.parent() }); // Clear search on click