Show composer after discussion is reloaded following login

This commit is contained in:
Toby Zerner
2015-05-18 15:38:19 +09:30
parent 8cba7ad3f2
commit e879a65a0c
3 changed files with 17 additions and 2 deletions

View File

@ -23,6 +23,17 @@ export default {
this.getHandlers(event).push(handler);
},
/**
*/
one(event, handler) {
var wrapper = function() {
handler.apply(this, arguments);
this.off(event, wrapper);
};
this.getHandlers(event).push(wrapper);
},
/**
*/