gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Add event


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: Add event listener for scrolling to the page bottom.
Date: Tue, 28 Feb 2017 17:15:08 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant-frontends.

The following commit(s) were added to refs/heads/master by this push:
     new b482ddc  Add event listener for scrolling to the page bottom.
b482ddc is described below

commit b482ddc95d9a0961f9f0f8fd3c5a5c9b2698430b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 28 17:14:31 2017 +0100

    Add event listener for scrolling to the page bottom.
---
 talerfrontends/blog/static/backoffice.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/talerfrontends/blog/static/backoffice.js 
b/talerfrontends/blog/static/backoffice.js
index 7118ef0..3c08395 100644
--- a/talerfrontends/blog/static/backoffice.js
+++ b/talerfrontends/blog/static/backoffice.js
@@ -106,6 +106,10 @@ function track_order(order_id, instance){
   req.send();
 }
 
+function get_more_history(){
+  console.log("Scrolled to the bottom.");
+}
+
 function get_history(){
 
   var DAYS = 10;
@@ -150,3 +154,4 @@ function get_history(){
 }
 
 document.addEventListener("DOMContentLoaded", get_history);
+document.addEventListener("scroll", get_more_history);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]