aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-19 23:17:17 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-19 23:17:17 +0200
commita7d0c45606042dbf1c60019c508cfe6939b85f4b (patch)
tree9a065108f3cf4dcdf085263995ad6c8b2ae3ab55
parentdbc0cc8c929809d70ec306f08d4c0031b49c5c93 (diff)
downloadvolse-hubzilla-a7d0c45606042dbf1c60019c508cfe6939b85f4b.tar.gz
volse-hubzilla-a7d0c45606042dbf1c60019c508cfe6939b85f4b.tar.bz2
volse-hubzilla-a7d0c45606042dbf1c60019c508cfe6939b85f4b.zip
Revert "remove some redundant references to sticky_kit"
This reverts commit dbc0cc8c929809d70ec306f08d4c0031b49c5c93.
-rw-r--r--view/js/main.js2
-rw-r--r--view/tpl/notes.tpl1
2 files changed, 3 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 61a70e437..919eb282a 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -725,6 +725,8 @@ function updateConvItems(mode,data) {
$('.item_' + submid_encoded).addClass('item-highlight');
}
+ $(document.body).trigger("sticky_kit:recalc");
+
}
function collapseHeight() {
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl
index 729297ee1..c6d5d8a73 100644
--- a/view/tpl/notes.tpl
+++ b/view/tpl/notes.tpl
@@ -8,6 +8,7 @@
$(document).ready(function(e){
noteText.on('change keyup keydown paste cut', function () {
noteText.height(0).height(noteText[0].scrollHeight);
+ $(document.body).trigger("sticky_kit:recalc");
}).change();
});