Fix header.
This commit is contained in:
parent
b9047be3ce
commit
4cd43297f1
6
util.js
6
util.js
|
@ -1,3 +1,7 @@
|
||||||
|
// util.js
|
||||||
|
// copyright Sébastien Lucas
|
||||||
|
// https://github.com/seblucas/cops
|
||||||
|
|
||||||
var templatePage, templateBookDetail, templateMain, currentData, before, filterList;
|
var templatePage, templateBookDetail, templateMain, currentData, before, filterList;
|
||||||
|
|
||||||
var cache = new LRUCache(30);
|
var cache = new LRUCache(30);
|
||||||
|
@ -217,7 +221,7 @@ function updatePage (data) {
|
||||||
var result;
|
var result;
|
||||||
filterList = {};
|
filterList = {};
|
||||||
data ["const"] = currentData ["const"];
|
data ["const"] = currentData ["const"];
|
||||||
if (false && $("section").length && currentData.isPaginated == 0 && data.isPaginated === 0) {
|
if (false && $("section").length && currentData.isPaginated === 0 && data.isPaginated === 0) {
|
||||||
// Partial update (for now disabled)
|
// Partial update (for now disabled)
|
||||||
debug_log ("Partial update");
|
debug_log ("Partial update");
|
||||||
result = templateMain (data);
|
result = templateMain (data);
|
||||||
|
|
Loading…
Reference in a new issue