]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set tooltip container correctly 29105/head
authorChristopher Ng <chrng8@gmail.com>
Thu, 7 Oct 2021 15:56:39 +0000 (15:56 +0000)
committerLouis Chemineau <louis@chmn.me>
Mon, 11 Oct 2021 10:23:48 +0000 (12:23 +0200)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
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');