aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-06 12:24:26 -0800
committerzotlabs <mike@macgirvin.com>2017-01-06 12:24:26 -0800
commitba2d0fae0e339e4909a7ee11c8493cdffbc6c392 (patch)
tree7f796cc33c96c68039b034c78c26789cf3d8b75e /view/tpl
parent1ce8168d72b4bcb8a4373a6a6a4428db62a4aa3f (diff)
parent7f9e91f1c78f9df6375a5ae5cb38b09eea02312b (diff)
downloadvolse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.tar.gz
volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.tar.bz2
volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.zip
Merge branch 'dev' into gnusoc
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/notes.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl
index f9fed1feb..c4da3783b 100644
--- a/view/tpl/notes.tpl
+++ b/view/tpl/notes.tpl
@@ -5,9 +5,10 @@
var noteSaveTimer = null;
var noteText = $('#note-text');
- $(document).ready(function(){
- noteText.height(noteText[0].scrollHeight);
- });
+ noteText.on('change keyup keydown paste cut', function () {
+ $(this).height(0).height(this.scrollHeight);
+ $(document.body).trigger("sticky_kit:recalc");
+ }).change();
$(document).on('focusout',"#note-text",function(e){
if(noteSaveTimer)