(ele)
| 114 | } |
| 115 | } |
| 116 | const show = (ele) => { |
| 117 | ele.appendChild(downloadBtn); |
| 118 | setTimeout(() => { |
| 119 | downloadBtn.style.opacity = touch ? 0.8 : 0.6; |
| 120 | }, 0); |
| 121 | }; |
| 122 | const addBtn = e => { |
| 123 | if (e.target.dataset && e.target.dataset.testid == "card.layoutLarge.media") { |
| 124 | show(e.target.parentNode); |
no outgoing calls
no test coverage detected