Skip to content

Commit

Permalink
Fix the position calculation for wired-field temrinals
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranj authored and ericabouaf committed Oct 28, 2010
1 parent 40a3ae7 commit 79e3c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Terminal.js
Expand Up @@ -319,7 +319,7 @@ WireIt.Terminal.prototype = {
curleft += obj.offsetLeft;
curtop += obj.offsetTop;
obj = obj.offsetParent;
} while ( !!obj && obj != layerEl);
} while ( !!obj && obj != layerEl && !YAHOO.util.Dom.hasClass(obj, "WireIt-Layer"));
}

return [curleft+15,curtop+15];
Expand Down

0 comments on commit 79e3c25

Please sign in to comment.