Skip to content

Commit

Permalink
Use mount event so it survives parent rerenders
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleslimghost committed Sep 11, 2015
1 parent 7c0fa59 commit 64c5db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helper.js
Expand Up @@ -20,7 +20,7 @@ module.exports = function(view) {
this.delegate = delegate();
});

view.on('setup', function() {
view.on('mount', function() {
this.delegate.root(this.el);
});

Expand Down

0 comments on commit 64c5db9

Please sign in to comment.