(e)
| 2283 | var left = rect.left + (parseInt(rect.borderLeftWidth) || 0); |
| 2284 | var maxTop = rect.bottom - top - text.clientHeight -2; |
| 2285 | var move = function(e) { |
| 2286 | text.style.left = e.clientX - left - 2 + "px"; |
| 2287 | text.style.top = Math.min(e.clientY - top - 2, maxTop) + "px"; |
| 2288 | }; |
| 2289 | move(e); |
| 2290 | |
| 2291 | if (e.type != "mousedown") |