Fix event handlers in BookmarksView

This commit is contained in:
JC Brand 2021-01-25 22:15:04 +01:00
parent 05c00c5e1c
commit b31f334109
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class BookmarksView extends ElementView {
const id = `converse.room-bookmarks${_converse.bare_jid}-list-model`;
this.list_model = new _converse.BookmarksList({ id });
this.list_model.browserStorage = _converse.createStore(id);
this.list_model.fetch({ 'success': this.render, 'error': this.render });
this.list_model.fetch({ 'success': () => this.render(), 'error': () => this.render() });
}
render () {