Minor modifications
This commit is contained in:
parent
0dda0052e3
commit
3343a65335
4
util.js
4
util.js
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue