Index: trunk/parsers/wikidom/lib/hype/bases/es.DocumentViewBranchNode.js |
— | — | @@ -34,9 +34,9 @@ |
35 | 35 | es.DocumentViewBranchNode.prototype.drawSelection = function( range ) { |
36 | 36 | var nodes = this.selectNodes( range, true ); |
37 | 37 | for ( var i = 0; i < this.length; i++ ) { |
38 | | - if ( nodes.length && this[i] === nodes[0] ) { |
39 | | - for ( var j = 0; j < nodes.on.length; j++ ) { |
40 | | - nodes.on[j].node.drawSelection( nodes.on[j].range ); |
| 38 | + if ( nodes.length && this[i] === nodes[0].node ) { |
| 39 | + for ( var j = 0; j < nodes.length; j++ ) { |
| 40 | + nodes[j].node.drawSelection( nodes[j].range ); |
41 | 41 | i++; |
42 | 42 | } |
43 | 43 | } else { |