From a7d0c45606042dbf1c60019c508cfe6939b85f4b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 19 Sep 2017 23:17:17 +0200 Subject: Revert "remove some redundant references to sticky_kit" This reverts commit dbc0cc8c929809d70ec306f08d4c0031b49c5c93. --- view/js/main.js | 2 ++ view/tpl/notes.tpl | 1 + 2 files changed, 3 insertions(+) (limited to 'view') 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(); }); -- cgit v1.2.3