mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-16 05:02:55 +08:00
update 2026-09-26 00:21:07
This commit is contained in:
1 parent
ba0a17863f
commit
8971d1aa5c
131 files changed
+408
-24394
No files matched your search
@@ -295,7 +295,7 @@ return view.extend({
|
||||
function applyFilter() {
|
||||
const f = state.filter;
|
||||
pane.querySelectorAll('.dd-line').forEach(function(el) {
|
||||
if (matchesFilter(el.textContent, f))
|
||||
if (matchesFilter(el._rawLine, f))
|
||||
el.classList.remove('dd-hidden');
|
||||
else
|
||||
el.classList.add('dd-hidden');
|
||||
@@ -309,6 +309,7 @@ return view.extend({
|
||||
const ln = lines[i];
|
||||
if (!ln) continue;
|
||||
const el = buildLine(ln);
|
||||
el._rawLine = ln;
|
||||
if (!matchesFilter(ln, state.filter))
|
||||
el.classList.add('dd-hidden');
|
||||
frag.appendChild(el);
|
||||
|
||||
Reference in new issue
Block a user