fsd
This commit is contained in:
parent
c6c1997757
commit
549613f1c9
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ async function getGif(searchTerm) {
|
||||||
|
|
||||||
let response = await fetch("/giphy?searchTerm=" + searchTerm + "&limit=48");
|
let response = await fetch("/giphy?searchTerm=" + searchTerm + "&limit=48");
|
||||||
|
|
||||||
var max = response.data.length - 1 //length of response, minus 1 (cuz array starts at index 0)
|
var max = await response.data.length - 1 //length of response, minus 1 (cuz array starts at index 0)
|
||||||
// GIF array
|
// GIF array
|
||||||
var gifURL = [];
|
var gifURL = [];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue