No var in js
This commit is contained in:
parent
3d88dd7979
commit
57dd8d6a2f
@ -29,8 +29,7 @@
|
||||
|
||||
<script>
|
||||
document.getElementById('name').oninput = function (choice) {
|
||||
var datalist = document.getElementById('animes').childNodes;
|
||||
datalist.forEach(function (option) {
|
||||
document.getElementById('animes').childNodes.forEach(function (option) {
|
||||
if (option.value === choice.target.value) {
|
||||
document.getElementById('folder').value = option.dataset.folderId;
|
||||
document.getElementById('keyword').value = option.dataset.keyword;
|
||||
|
Reference in New Issue
Block a user