(evt)
| 389 | |
| 390 | // 鼠标离开则隐藏 |
| 391 | var mouseOutHandler = function(evt) { |
| 392 | let elem = evt.currentTarget, |
| 393 | aElm_new = elem.querySelectorAll('.fileDownLink'), |
| 394 | aElm_now = elem.querySelectorAll('svg.octicon.octicon-file, svg.color-fg-muted'); |
| 395 | aElm_new.forEach(el=>{el.style.cssText = 'display: none'}); |
| 396 | aElm_now.forEach(el=>{el.style.cssText = 'display: inline'}); |
| 397 | }; |
| 398 | |
| 399 | // 循环添加 |
| 400 | files.forEach(function(fileElm) { |
nothing calls this directly
no outgoing calls
no test coverage detected