]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix container element for newFileMenu tooltip 28817/head
authorLouis Chemineau <louis@chmn.me>
Wed, 6 Oct 2021 10:23:06 +0000 (12:23 +0200)
committerLouis Chemineau <louis@chmn.me>
Wed, 6 Oct 2021 10:23:06 +0000 (12:23 +0200)
Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/files/js/newfilemenu.js

index d19efb85e62249ddbb0d81f50354283edc324ee8..faebc305c6db9e707475f09863fc1963ba6f97d0 100644 (file)
                                        }
                                } 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');