Skip to content

Commit

Permalink
Merge pull request knockout#1513 from softek/jquery-tmpl-array-fix
Browse files Browse the repository at this point in the history
Fix error in fixUpContinuousNodeArray when using jquery.tmpl
  • Loading branch information
mbest committed Oct 8, 2014
2 parents 1716365 + 8b3c402 commit c6cdb3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ ko.utils = (function () {

// Rule [A]
while (continuousNodeArray.length && continuousNodeArray[0].parentNode !== parentNode)
continuousNodeArray.shift();
continuousNodeArray.splice(0, 1);

// Rule [B]
if (continuousNodeArray.length > 1) {
Expand Down

0 comments on commit c6cdb3e

Please sign in to comment.