Browse Source

fixed issue #221 blockManager.remove not working. added render to remove method

pull/222/head
Aryeh Armon 9 years ago
parent
commit
4b64a86a14
  1. 4
      src/block_manager/index.js

4
src/block_manager/index.js

@ -140,7 +140,9 @@ module.exports = () => {
* @param {string} id Block id
*/
remove(id) {
return blocks.remove(id);
var result = blocks.remove(id);
this.render();
return result;
},
};

Loading…
Cancel
Save