From: Christopher Ng Date: Thu, 7 Oct 2021 15:56:39 +0000 (+0000) Subject: Set tooltip container correctly X-Git-Tag: v23.0.0beta1~63^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F29105%2Fhead;p=nextcloud-server.git Set tooltip container correctly Signed-off-by: Christopher Ng --- diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js index d19efb85e62..faebc305c6d 100644 --- a/apps/files/js/newfilemenu.js +++ b/apps/files/js/newfilemenu.js @@ -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');