aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {