aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-07-21 08:17:45 +0000
committerMario <mario@mariovavti.com>2023-07-21 08:17:45 +0000
commit4b1384be832b0a745eeb8ac94cba6b00edc4eb64 (patch)
treef9cdf12613df059264de29149729f3b2c5e3cce4
parent8da6e6a096c7cb5ab8aa7c4b30d69c4876810a84 (diff)
downloadvolse-hubzilla-4b1384be832b0a745eeb8ac94cba6b00edc4eb64.tar.gz
volse-hubzilla-4b1384be832b0a745eeb8ac94cba6b00edc4eb64.tar.bz2
volse-hubzilla-4b1384be832b0a745eeb8ac94cba6b00edc4eb64.zip
more performance improvements
-rw-r--r--view/js/main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 13fc29cd4..c463b1f59 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -807,7 +807,7 @@ function updateConvItems(mode,data) {
}
// reset rotators and cursors we may have set before reaching this place
- $('.like-rotator').hide();
+
$("#page-spinner").hide();
$("#profile-jot-text-loading").hide();
@@ -842,8 +842,7 @@ function scrollToItem() {
}
function collapseHeight() {
-
- $(".wall-item-content, .directory-collapse").each(function() {
+ $(".wall-item-content:not('.divmore_checked'), .directory-collapse:not('.divmore_checked')").each(function(i) {
var orgHeight = $(this).outerHeight(true);
var id = $(this).attr('id')
var open = ((expanded_items.indexOf($(this).attr('id')) === -1) ? false : true);
@@ -871,6 +870,7 @@ function collapseHeight() {
$(this).addClass('divmore');
}
}
+ $(this).addClass('divmore_checked');
});
}