From c17d60165a47d410721b9b043b9244c85a37b346 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 5 Oct 2015 17:44:25 +0200 Subject: Fix tooltip placement on rename error --- apps/files/js/filelist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 2516dd3e957..6cf82391baf 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1783,7 +1783,7 @@ } } catch (error) { input.attr('title', error); - input.tooltip({placement: 'left', trigger: 'manual'}); + input.tooltip({placement: 'right', trigger: 'manual'}); input.tooltip('show'); input.addClass('error'); } @@ -1797,7 +1797,7 @@ input.removeClass('error'); } catch (error) { input.attr('title', error); - input.tooltip({placement: 'left', trigger: 'manual'}); + input.tooltip({placement: 'right', trigger: 'manual'}); input.tooltip('show'); input.addClass('error'); } -- cgit v1.2.3