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

Function move

static/editor.md/editormd.amd.js:4507–4515  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

4505 };
4506
4507 var move = function(e) {
4508 e.preventDefault();
4509 var orig = e.originalEvent;
4510
4511 $(this).parent().css({
4512 top : orig.changedTouches[0].pageY - offset.y,
4513 left : orig.changedTouches[0].pageX - offset.x
4514 });
4515 };
4516
4517 this.bind("touchstart", start).bind("touchmove", move);
4518 };

Callers

nothing calls this directly

Calls 1

$Function · 0.50

Tested by

no test coverage detected