aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-16 11:59:35 +0000
committerMario <mario@mariovavti.com>2020-07-16 11:59:35 +0000
commitfcc47e69e424635fa54b2684329623d4f7694436 (patch)
tree07e5f865b6c83898d7ac508302a227509e8207fd
parentd2f1c3743172dc59e5935d77322998fa03c2cc22 (diff)
downloadvolse-hubzilla-fcc47e69e424635fa54b2684329623d4f7694436.tar.gz
volse-hubzilla-fcc47e69e424635fa54b2684329623d4f7694436.tar.bz2
volse-hubzilla-fcc47e69e424635fa54b2684329623d4f7694436.zip
do not cache single thread pages
-rw-r--r--view/js/main.js31
1 files changed, 2 insertions, 29 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 77d2948c7..82de0d06f 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -220,37 +220,10 @@ $(document).ready(function() {
pageHasMoreContent = false;
$(document).on('hz:updateConvItems', function(event) {
- cache_next_page();
+ if(!bParam_mid)
+ cache_next_page();
});
-//hide_aside plugin
- var hide_aside_timer = null;
-
- $(document).on('hz:updateConvItems hz:updatePageItems', function(event) {
- if(bParam_page > 2) {
- if(hide_aside_timer)
- clearTimeout(hide_aside_timer);
-
- hide_aside_timer = setTimeout(function(){$('aside').animate({ opacity: 0 }, 3000);}, 2000);
- }
- });
-
- $('aside, aside *').on('mouseover', function(){
- clearTimeout(hide_aside_timer);
- if(bParam_page > 2)
- $('aside').animate({ opacity: 1 });
- });
-
- $('aside').on('mouseleave', function(){
- if(bParam_page > 2) {
- if(hide_aside_timer)
- clearTimeout(hide_aside_timer);
-
- hide_aside_timer = setTimeout(function(){$('aside').animate({ opacity: 0 }, 3000);}, 7000);
- }
- });
-//end plugin
-
});
function getConversationSettings() {