X-Git-Url: http://jaekl.net/gitweb/?p=quanweb.git;a=blobdiff_plain;f=app%2Flib.js;h=4a77ffc6e7950bdbe68fc5a1876aee71bafd296a;hp=6edaa47d2d858a6919ba5ca8f75acbc021297c01;hb=5799f40be84ede60b75c4bced2b0b14b827aa81e;hpb=3491c1a06c876795881f14b7d5d920b128a7e3d6 diff --git a/app/lib.js b/app/lib.js index 6edaa47..4a77ffc 100644 --- a/app/lib.js +++ b/app/lib.js @@ -1,6 +1,8 @@ //QuanLib: eBook Library //(C) 2017 by Christian Jaekl (cejaekl@yahoo.com) +'use strict'; + var g_state = { cache: [], count: 0, @@ -12,7 +14,7 @@ var g_state = { ids: [], last: (-1), map: {}, // map from book.Id to index into cache[] - pageSize: 48, + pageSize: 20, tooltip: { bookId: undefined, milliSecs: 500, // time to wait before displaying tooltip