From df22bda667f72db5f3d684c7c078fc918be42bf9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 6 Mar 2017 11:37:16 +0300 Subject: do not scroll index to top when showing summary --- js/index.js | 2 +- js/offline.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/index.js b/js/index.js index ac418da..3faf152 100644 --- a/js/index.js +++ b/js/index.js @@ -166,5 +166,5 @@ function show_summary(elem) { }); - + return false; } diff --git a/js/offline.js b/js/offline.js index e0138fb..40e230b 100644 --- a/js/offline.js +++ b/js/offline.js @@ -112,7 +112,7 @@ function populate_list() { "More..." + ""; cell += ""; @@ -177,6 +177,8 @@ function show_summary(elem) { $("#summary-modal").modal(); }); + + return false; } -- cgit v1.2.3