Make postboxes less "jumpy" when dragging, see #8364

git-svn-id: http://svn.automattic.com/wordpress/trunk@10019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2008-12-03 08:40:06 +00:00
parent a4f2b6960b
commit cb11271cb3
3 changed files with 746 additions and 3 deletions

View File

@@ -54,6 +54,7 @@
handle: '.hndle',
distance: 2,
tolerance: 'pointer',
toleranceMove: 'tolerance',
sort: function(e,ui) {
if ( $(document).width() - e.clientX < 300 ) {
if ( ! $('#post-body').hasClass('has-sidebar') ) {