(img,add)
| 493 | img.style.cursor="grab"; |
| 494 | } |
| 495 | function grabHandler(img,add){ |
| 496 | if(add){ |
| 497 | img.addEventListener("mousedown",mousedownHandler); |
| 498 | }else{ |
| 499 | img.removeEventListener("mousedown",mousedownHandler); |
| 500 | } |
| 501 | } |
| 502 | |
| 503 | function restoreImg(img){ |
| 504 | hasFloatImg=false; |
no outgoing calls
no test coverage detected