Browse Source

ignore sortable special case

Evan You 10 years ago
parent
commit
6084fd3ec6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/directives/public/for.js

+ 1 - 0
src/directives/public/for.js

@@ -362,6 +362,7 @@ const vFor = {
     // if prevEl doesn't have nextSibling, this means it's
     // if prevEl doesn't have nextSibling, this means it's
     // been dragged after the end anchor. Just re-position
     // been dragged after the end anchor. Just re-position
     // the end anchor to the end of the container.
     // the end anchor to the end of the container.
+    /* istanbul ignore if */
     if (!prevEl.nextSibling) {
     if (!prevEl.nextSibling) {
       this.end.parentNode.appendChild(this.end)
       this.end.parentNode.appendChild(this.end)
     }
     }