Revert "remove some redundant references to sticky_kit"

This reverts commit dbc0cc8c92.
This commit is contained in:
Mario Vavti 2017-09-19 23:17:17 +02:00
parent dbc0cc8c92
commit a7d0c45606
2 changed files with 3 additions and 0 deletions

View File

@ -725,6 +725,8 @@ function updateConvItems(mode,data) {
$('.item_' + submid_encoded).addClass('item-highlight');
}
$(document.body).trigger("sticky_kit:recalc");
}
function collapseHeight() {

View File

@ -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();
});