yasir commited on
Commit
481579f
1 Parent(s): 6abc253

Update main.js

Browse files
Files changed (1) hide show
  1. main.js +1 -1
main.js CHANGED
@@ -154,7 +154,7 @@ img.addEventListener("click", function() {
154
  img.id = "hehe"
155
  pi.innerHTML = ''
156
  pi.innerText = ''
157
- img.src = data.result[0];
158
  div.appendChild(img);
159
  const img2 = document.createElement('img');
160
  img2.src = data.result[1];
 
154
  img.id = "hehe"
155
  pi.innerHTML = ''
156
  pi.innerText = ''
157
+ img.src = data.result[2];
158
  div.appendChild(img);
159
  const img2 = document.createElement('img');
160
  img2.src = data.result[1];