pinokiod 1.2.60 → 1.2.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.2.60",
3
+ "version": "1.2.61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -895,7 +895,7 @@ body.dark .line:hover {
895
895
  /*
896
896
  border-left: 6px solid black;
897
897
  */
898
- background: rgba(0,200,0,0.04);
898
+ background: rgba(30, 200, 30, 0.1);
899
899
  }
900
900
  .line {
901
901
  text-decoration: none;
@@ -374,7 +374,7 @@ const search = (items, value) => {
374
374
  //})
375
375
 
376
376
 
377
- let selectedIndex = 0
377
+ let selectedIndex = -1
378
378
  let selectedBtnIndex = 0
379
379
  let filteredCount = list.length
380
380
  let filteredBtnsCount = 0
@@ -386,8 +386,6 @@ const renderSearch = () => {
386
386
  result = list.map((i, index) => {
387
387
  return { item: i }
388
388
  })
389
- // selectedIndex = 0
390
- // selectedBtnIndex = 0
391
389
  } else {
392
390
  result = search(list, target.value)
393
391
  }
@@ -398,7 +396,6 @@ const renderSearch = () => {
398
396
  }
399
397
 
400
398
  filteredCount = result.length
401
- console.log("selectedIndex", selectedIndex)
402
399
  for(let i=0; i<result.length; i++) {
403
400
  let selector = result[i]
404
401
  //let el = document.querySelector(".line[data-name='" + selector.item.name + "']")