aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
});