diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 23:01:18 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 23:01:18 +0000 |
commit | 6294266b9f390ed0400b9f08a1a9c88f65f4574c (patch) | |
tree | e29b362bdde51e91ba7f5f550b8ac93f09fa7907 /js | |
parent | b827319a8b0c17ea362bf55548557862a04f0ba9 (diff) | |
download | elgg-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')
-rw-r--r-- | js/lib/ui.widgets.js | 4 |
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);
}
/**
|