From: rabuzarus <> Date: Fri, 1 Jul 2016 15:03:40 +0000 (+0200) Subject: frio: fix textcomplete for jot X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9170955f80f554c2f8e6abf5ce49aadc431e59fd;p=friendica.git frio: fix textcomplete for jot --- diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index 3bec6839f0..7c8d502de6 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -127,7 +127,7 @@ function initEditor(cb){ function enableOnUser(){ if (editor) return; - $(this).val(""); + //$(this).val(""); initEditor(); } @@ -143,8 +143,8 @@ function enableOnUser(){ $(document).ready(function() { /* enable tinymce on focus and click */ - //$("#profile-jot-text").focus(enableOnUser); - //$("#profile-jot-text").click(enableOnUser); + $("#profile-jot-text").focus(enableOnUser); + $("#profile-jot-text").click(enableOnUser); // When clicking on a forum in acl we should remove the profile jot textarea // default value before inserting the forum mention