From 76ad2cc5e6fa881a0d05643c60ecd144d235d145 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 10 May 2007 21:18:01 +0000 Subject: [PATCH] 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 --- wp-admin/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 169d74f738..36157fff1f 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -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;