Browse Source

revert index.html change + fix styling errors

pull/662/head
Jonas Zeitler 9 years ago
parent
commit
4094911e8f
  1. 8
      Sortable.js
  2. 2
      Sortable.min.js
  3. 2
      index.html

8
Sortable.js

@ -685,10 +685,10 @@
after = (target.previousElementSibling === dragEl) && !isWide || halfway && isWide;
}
else if (target.previousElementSibling === dragEl || dragEl.previousElementSibling === target) {
after = (evt.clientY - targetRect.top) / height > 0.5;
} else {
after = tgTop > elTop;
}
after = (evt.clientY - targetRect.top) / height > 0.5;
} else {
after = tgTop > elTop;
}
} else {
after = (nextSibling !== dragEl) && !isLong || halfway && isLong;
}

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long

2
index.html

@ -49,7 +49,7 @@
<ul id="bar" class="block__list block__list_tags">
<li>казнить</li>
<li>,</li>
<li style="height: 100px; width: 280px;">нельзя</li>
<li>нельзя</li>
<li>помиловать</li>
</ul>
</div>

Loading…
Cancel
Save