Set tooltip container correctly

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/29105/head
Christopher Ng 2021-10-07 15:56:39 +07:00 committed by Louis Chemineau
parent 006fdccf1f
commit 3b799248c3
1 changed files with 1 additions and 1 deletions

@ -137,7 +137,7 @@
}
} catch (error) {
$input.attr('title', error);
$input.tooltip({placement: 'right', trigger: 'manual', 'container': '.newFileMenu'});
$input.tooltip({placement: 'right', trigger: 'manual', container: self.$el});
$input.tooltip('_fixTitle');
$input.tooltip('show');
$input.addClass('error');