From dbc0cc8c929809d70ec306f08d4c0031b49c5c93 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 19 Sep 2017 23:13:18 +0200 Subject: remove some redundant references to sticky_kit --- view/js/main.js | 2 -- view/tpl/notes.tpl | 1 - 2 files changed, 3 deletions(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 919eb282a..61a70e437 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -725,8 +725,6 @@ 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 c6d5d8a73..729297ee1 100644 --- a/view/tpl/notes.tpl +++ b/view/tpl/notes.tpl @@ -8,7 +8,6 @@ $(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