提交 0163bcd1 编写于 作者: R RubaXa

Merge branch 'dev' of github.com:RubaXa/Sortable into dev

......@@ -905,7 +905,7 @@
*/
function _index(/**HTMLElement*/el) {
var index = 0;
while (el && (el = el.previousElementSibling)) {
while (el && (el = el.previousElementSibling) && (el.nodeName !== 'TEMPLATE')) {
index++;
}
return index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册