From af21dd4463afdb901a27a075228a4bdf4cd5ecb5 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 30 Jun 2019 20:14:57 +0200 Subject: [PATCH] fix mobile text editor display --- src/public/javascripts/services/tab_context.js | 4 +++- src/views/login.ejs | 6 +++--- src/views/mobile.ejs | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/public/javascripts/services/tab_context.js b/src/public/javascripts/services/tab_context.js index 65c081525..5e781a859 100644 --- a/src/public/javascripts/services/tab_context.js +++ b/src/public/javascripts/services/tab_context.js @@ -338,7 +338,9 @@ class TabContext { } closeAutocomplete() { - this.$tabContent.find('.aa-input').autocomplete('close'); + if (utils.isDesktop()) { + this.$tabContent.find('.aa-input').autocomplete('close'); + } } } diff --git a/src/views/login.ejs b/src/views/login.ejs index f18a87cf6..52773ff5f 100644 --- a/src/views/login.ejs +++ b/src/views/login.ejs @@ -72,7 +72,7 @@ document.cookie = name + "=" + (value || "") + expires + "; path=/"; } - - - + + + \ No newline at end of file diff --git a/src/views/mobile.ejs b/src/views/mobile.ejs index 6ce51b0b0..16abad342 100644 --- a/src/views/mobile.ejs +++ b/src/views/mobile.ejs @@ -49,7 +49,9 @@
-
+
+
+