git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 7d1df4ffdd84755dbe885235db2e4f16920ac892

fix message expander when no images

Matt McKegg committed on 11/4/2017, 4:30:56 AM
Parent: 4f2f50a77ef55ab8e505ad02c47746b3cab34157

Files changed

lib/expander-hook.jschanged
lib/expander-hook.jsView
@@ -5,9 +5,9 @@
55 }
66
77 function expander (needsExpand, element) {
88 var handler = { handleEvent, needsExpand, element }
9- handleEvent.bind(handler)
9+ handleEvent.call(handler)
1010
1111 if (element.querySelector('img')) {
1212 // just in case images are still loading
1313 setTimeout(handleEvent.bind(handler), 200)

Built with git-ssb-web