yasir commited on
Commit
643fd58
1 Parent(s): f5175d0

Update main.js

Browse files
Files changed (1) hide show
  1. main.js +4 -1
main.js CHANGED
@@ -154,8 +154,11 @@ img.addEventListener("click", function() {
154
  img.id = "hehe"
155
  pi.innerHTML = ''
156
  pi.innerText = ''
157
- img.src = data.result;
158
  div.appendChild(img);
 
 
 
159
  btn.disabled = false
160
  isimg = true
161
 
 
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];
161
+ div.appendChild(img2);
162
  btn.disabled = false
163
  isimg = true
164