mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-14 10:36:19 +02:00
eslint fixes.
This commit is contained in:
@ -1272,7 +1272,7 @@ runBtn, searchInput
|
||||
scope.onSearchInputChange = function (e) {
|
||||
const text = e.target.value;
|
||||
let el;
|
||||
for (let [itemId, item] of Object.entries(savedItems)) {
|
||||
for (const [itemId, item] of Object.entries(savedItems)) {
|
||||
el = $(`#js-saved-items-pane [data-item-id=${itemId}]`);
|
||||
if (item.title.toLowerCase().indexOf(text) === -1) {
|
||||
el.classList.add('hide');
|
||||
|
Reference in New Issue
Block a user