diff --git a/slip.js b/slip.js index 3e0d182..75d0e92 100644 --- a/slip.js +++ b/slip.js @@ -626,6 +626,8 @@ window['Slip'] = (function(){ }, updatePosition: function(e, pos) { + if(this.target == null) + return; this.latestPosition = pos; var triggerOffset = 40,