Index: trunk/parsers/wikidom/lib/es/es.Document.js |
— | — | @@ -103,6 +103,8 @@ |
104 | 104 | block.removeAllListeners( 'update' ); |
105 | 105 | this.blocks.splice( block.getIndex(), 1 ); |
106 | 106 | block.document = null; |
| 107 | + block.$.detach(); |
| 108 | + this.emit( 'update' ); |
107 | 109 | }; |
108 | 110 | |
109 | 111 | es.Document.prototype.renderBlocks = function( offset ) { |