add try catch for closing compose dialog

This commit is contained in:
Nolan Lawson 2018-04-06 08:49:15 -07:00
parent fe8ad175f2
commit b8d93a5d96
1 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,12 @@
this.set({shown: true})
},
onPostedStatus() {
this.set({closed: true})
try {
this.set({closed: true})
} catch (e) {
// TODO: this seems to error sometimes, not sure why
console.error(e)
}
}
}
}