PUBLISH
This commit is contained in:
parent
858c725bac
commit
ade4dfd1d2
8 changed files with 56 additions and 34 deletions
|
|
@ -1,8 +1,12 @@
|
|||
const searchInput = document.getElementById('movie-search');
|
||||
const datalist = document.getElementById('movies');
|
||||
const dataitems = new Map();
|
||||
const dataSummaries = new Map();
|
||||
Array.from(datalist.children).forEach(function (ch) {
|
||||
dataitems.set(ch.value, ch.getAttribute('data-value'));
|
||||
if (navigator.userAgent.match(/firefox/i)) {
|
||||
ch.innerHTML = ch.value;
|
||||
}
|
||||
});
|
||||
|
||||
searchInput.addEventListener('change', function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue