aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 23:01:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 23:01:18 +0000
commit6294266b9f390ed0400b9f08a1a9c88f65f4574c (patch)
treee29b362bdde51e91ba7f5f550b8ac93f09fa7907 /js/lib
parentb827319a8b0c17ea362bf55548557862a04f0ba9 (diff)
downloadelgg-6294266b9f390ed0400b9f08a1a9c88f65f4574c.tar.gz
elgg-6294266b9f390ed0400b9f08a1a9c88f65f4574c.tar.bz2
added hack for opera/jquery-ui bug
git-svn-id: http://code.elgg.org/elgg/trunk@7393 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.widgets.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js
index 93de96407..1f11f3465 100644
--- a/js/lib/ui.widgets.js
+++ b/js/lib/ui.widgets.js
@@ -101,6 +101,10 @@ elgg.ui.widgets.move = function(event, ui) {
position: ui.item.index()
}
});
+
+ // @hack fixes jquery-ui/opera bug where draggable elements jump
+ ui.item.css('top', 0);
+ ui.item.css('left', 0);
}
/**