Updating lining for css and js.
This commit is contained in:
parent
b55c863a45
commit
d69654162f
2 changed files with 73 additions and 20 deletions
|
|
@ -3,7 +3,7 @@
|
|||
'use strict';
|
||||
|
||||
// Lazy load images with lozad.js.
|
||||
const observer = window.lozad(); //
|
||||
const observer = window.lozad();
|
||||
observer.observe();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable no-undef */
|
||||
/* eslint-disable no-undef, guard-for-in */
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
@ -47,10 +47,10 @@
|
|||
limit: {{ site.Params.searchLimit | default 20 }}
|
||||
});
|
||||
const items = {};
|
||||
results.forEach( function(result) {
|
||||
result.result.forEach( function(r) {
|
||||
items[r.id] = r.doc;
|
||||
});
|
||||
results.forEach(function (result) {
|
||||
result.result.forEach(function (r) {
|
||||
items[r.id] = r.doc;
|
||||
});
|
||||
});
|
||||
showResults(items);
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
.then(function (data) {
|
||||
data.forEach(function (item) {
|
||||
index.add(item);
|
||||
})
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue