Fix header.

This commit is contained in:
Sébastien Lucas 2013-07-02 14:51:43 +02:00
parent b9047be3ce
commit 4cd43297f1

View file

@ -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);