1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-10 10:16:20 +01:00

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

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)
}
}
}
}