(evt)
| 380 | |
| 381 | // 鼠标指向则显示 |
| 382 | var mouseOverHandler = function(evt) { |
| 383 | let elem = evt.currentTarget, |
| 384 | aElm_new = elem.querySelectorAll('.fileDownLink'), |
| 385 | aElm_now = elem.querySelectorAll('svg.octicon.octicon-file, svg.color-fg-muted'); |
| 386 | aElm_new.forEach(el=>{el.style.cssText = 'display: inline'}); |
| 387 | aElm_now.forEach(el=>{el.style.cssText = 'display: none'}); |
| 388 | }; |
| 389 | |
| 390 | // 鼠标离开则隐藏 |
| 391 | var mouseOutHandler = function(evt) { |
nothing calls this directly
no outgoing calls
no test coverage detected