Minor modifications

This commit is contained in:
Sébastien Lucas 2013-10-15 16:07:41 +02:00
parent 0dda0052e3
commit 3343a65335

View file

@ -6,7 +6,7 @@
var templatePage, templateBookDetail, templateMain, templateSuggestion, currentData, before, filterList;
if (typeof LRUCache!='undefined') {
if (typeof LRUCache != 'undefined') {
var cache = new LRUCache(30);
}
@ -23,7 +23,7 @@ function debug_log(text) {
/*exported updateCookie */
function updateCookie (id) {
if($(id).prop('pattern') && !$(id).val().match(new RegExp ($(id).prop('pattern')))) {
if ($(id).prop('pattern') && !$(id).val().match(new RegExp ($(id).prop('pattern')))) {
return;
}
var name = $(id).attr('id');