MCPcopy Create free account
hub / github.com/TruthHun/BookStack / move

Function move

static/editor.md/editormd.js:4527–4535  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

4525 };
4526
4527 var move = function(e) {
4528 e.preventDefault();
4529 var orig = e.originalEvent;
4530
4531 $(this).parent().css({
4532 top : orig.changedTouches[0].pageY - offset.y,
4533 left : orig.changedTouches[0].pageX - offset.x
4534 });
4535 };
4536
4537 this.bind("touchstart", start).bind("touchmove", move);
4538 };

Callers

nothing calls this directly

Calls 1

$Function · 0.50

Tested by

no test coverage detected