[Rt-commit] rt branch, master, updated. rt-4.2.11-245-g791eedb

Dustin Graves dustin at bestpractical.com
Tue Oct 20 14:46:52 EDT 2015


The branch, master has been updated
       via  791eedb22f97551d47832c5c3490dce180294517 (commit)
      from  f47bf71a11b1b7abf5a228337d45be755b6120e7 (commit)

Summary of changes:
 share/html/Ticket/Elements/ScrollShowHistory | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 791eedb22f97551d47832c5c3490dce180294517
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Tue Oct 20 18:43:54 2015 +0000

    increase loadDistanceFromBottom on infinite scroll for better experience

diff --git a/share/html/Ticket/Elements/ScrollShowHistory b/share/html/Ticket/Elements/ScrollShowHistory
index c7923e3..3fcdc2e 100644
--- a/share/html/Ticket/Elements/ScrollShowHistory
+++ b/share/html/Ticket/Elements/ScrollShowHistory
@@ -83,7 +83,7 @@ my $oldestTransactionsFirst = RT->Config->Get("OldestTransactionsFirst", $sessio
 jQuery(function(){
     var isLoading = false, // prevent multiple simultaneous load events
         disableLoading = false, // prevent repeated fruitless attempts
-        loadDistanceFromBottom = 750, // to load before bottom of page is reached
+        loadDistanceFromBottom = 1500, // to load before bottom of page is reached
         lastTransactionId = null,
         hash = window.location.hash,
         hashTransactionId = null;

-----------------------------------------------------------------------


More information about the rt-commit mailing list