Update uiActions.js
This commit is contained in:
parent
1df0de6def
commit
de581015a0
@ -11,7 +11,7 @@ const tgglElmView = (id) => {
|
|||||||
|
|
||||||
const searchPage = (elm) => {
|
const searchPage = (elm) => {
|
||||||
let query = elm.value.toLowerCase();
|
let query = elm.value.toLowerCase();
|
||||||
let list = document.getElementById("dynDiv").querySelectorAll("div");
|
let list = document.getElementById("dynDiv").querySelectorAll("[title]");
|
||||||
let size = list.length;
|
let size = list.length;
|
||||||
|
|
||||||
for (var i = 0; i < size; i++) {
|
for (var i = 0; i < size; i++) {
|
||||||
@ -24,7 +24,7 @@ const searchPage = (elm) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const clearSearch = () => {
|
const clearSearch = () => {
|
||||||
let list = document.getElementById("dynDiv").querySelectorAll("div");
|
let list = document.getElementById("dynDiv").querySelectorAll("[title]");
|
||||||
let size = list.length;
|
let size = list.length;
|
||||||
|
|
||||||
for (var i = 0; i < size; i++) {
|
for (var i = 0; i < size; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user