Skip to content

Commit 7b71a18

Browse files
absidueAlban Dumas
authored and
Alban Dumas
committed
Fix search box crash (FreeTubeApp#6085)
1 parent 9741069 commit 7b71a18

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/renderer/components/ft-input/ft-input.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ export default defineComponent({
100100
return this.isSearch && this.barColor
101101
},
102102

103-
idDataList: function () {
104-
return `${this.id}_datalist`
105-
},
106-
107103
inputDataPresent: function () {
108104
return this.inputData.length > 0
109105
},

src/renderer/components/ft-input/ft-input.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
:id="id"
4444
ref="input"
4545
:value="inputDataDisplayed"
46-
:list="idDataList"
4746
class="ft-input"
4847
:maxlength="maxlength"
4948
:type="inputType"
@@ -70,7 +69,6 @@
7069
<div class="options">
7170
<ul
7271
v-if="inputData !== '' && visibleDataList.length > 0 && searchState.showOptions"
73-
:id="idDataList"
7472
class="list"
7573
@mouseenter="searchState.isPointerInList = true"
7674
@mouseleave="searchState.isPointerInList = false"

0 commit comments

Comments
 (0)