git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 00569595c67fa7ffb47acaaa102e08bef8a97b31

fix endless loading issue when clicking missing message

Matt McKegg committed on 10/19/2017, 12:07:16 AM
Parent: 8acd553f8fa30f4b8a87229695d165ff34d49efc

Files changed

main-window.jschanged
main-window.jsView
@@ -135,10 +135,9 @@
135135 } else if (ref.isBlob(href)) {
136136 electron.shell.openExternal(api.blob.sync.url(href))
137137 } else if (ref.isMsg(href)) {
138138 getExternalHandler(href, (err, handler) => {
139- if (err) throw err
140- if (handler) {
139+ if (!err && handler) {
141140 handler(href)
142141 } else {
143142 api.app.navigate(href, anchor)
144143 }

Built with git-ssb-web