From 3101e2e77badc081b4f628b2b64394538e1ffc04 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Jan 2026 08:17:52 +0000 Subject: [PATCH] Fix typo: _taregtX -> _targetX in drag functionality Fixed a typo where _taregtX was used instead of _targetX in the _updateLocation and _dragMove functions, which was preventing horizontal drag movement from working correctly. --- build/clippy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/clippy.js b/build/clippy.js index a787621..f3e6ac9 100644 --- a/build/clippy.js +++ b/build/clippy.js @@ -414,7 +414,7 @@ clippy.Agent.prototype = { }, _updateLocation:function () { - this._el.css({top:this._targetY, left:this._taregtX}); + this._el.css({top:this._targetY, left:this._targetX}); this._dragUpdateLoop = window.setTimeout($.proxy(this._updateLocation, this), 10); }, @@ -422,7 +422,7 @@ clippy.Agent.prototype = { e.preventDefault(); var x = e.clientX - this._offset.left; var y = e.clientY - this._offset.top; - this._taregtX = x; + this._targetX = x; this._targetY = y; },