Left, right, dragChange, hop. s/left/right/. Props Lawrence Pit. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5437 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8ea77a6001
commit
37f7c36ac0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue