Left, right, dragChange, hop. s/left/right/. Props Lawrence Pit. see #4169

git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-05-10 21:18:01 +00:00
parent ec0efa21b5
commit 76ad2cc5e6
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ function wp_widgets_admin_head() {
var p = Position.page(el);
var right = p[0];
var top = p[1];
var left = $('shadow').offsetWidth - (el.offsetWidth + left);
var left = $('shadow').offsetWidth - (el.offsetWidth + right);
var bottom = $('shadow').offsetHeight - (el.offsetHeight + top);
if ( right < 1 ) el.style.left = 0;
if ( top < 1 ) el.style.top = 0;