(e)
| 83 | } |
| 84 | |
| 85 | function onTouchMoveDetect(e) { |
| 86 | onTouchEndDetect(); |
| 87 | if (e === 'timer') { |
| 88 | original::onDragStart(longPressEvent); |
| 89 | if (IS_FIREFOX && parentCanScroll()) { |
| 90 | // FF bug workaround: prevent the script list container from scrolling on drag |
| 91 | parent.scrollTop += 1; |
| 92 | parent.scrollTop -= 1; |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | function onTouchEndDetect() { |
| 98 | clearTimeout(longPressTimer); |
nothing calls this directly
no test coverage detected