From 3b799248c34b234b20690af43a1037f9bf5231a5 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 7 Oct 2021 15:56:39 +0000 Subject: [PATCH] Set tooltip container correctly Signed-off-by: Christopher Ng --- apps/files/js/newfilemenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5