misc: fix dragging elements over the page edge (#8112)
This commit is contained in:
parent
7cdd62d119
commit
0b295c86ce
|
@ -1,5 +1,10 @@
|
|||
$(document).ready(
|
||||
function () {
|
||||
if ($('ul.biglist.sortable').length) {
|
||||
/* work around a jquery bug with .sortable() called on a container
|
||||
* set with position: relative and overflow properties */
|
||||
$('#main-content').css('overflow', 'inherit');
|
||||
}
|
||||
$('ul.biglist.sortable').sortable(
|
||||
{
|
||||
accept: 'biglistitem',
|
||||
|
|
Loading…
Reference in New Issue