diff options
Diffstat (limited to 'playgrounds/matrix/drag.js')
-rw-r--r-- | playgrounds/matrix/drag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playgrounds/matrix/drag.js b/playgrounds/matrix/drag.js index 2dd6cac..7609404 100644 --- a/playgrounds/matrix/drag.js +++ b/playgrounds/matrix/drag.js @@ -35,7 +35,7 @@ function reactToDrag(element, onDrag, beforeDrag) { } // Bind the drag tracker to this element directly - let parent = element.doc() + let parent = element.root() let point = new SVG.Point() element.mousedown(startDrag).touchstart(startDrag) } |