Commit 7d1df4ffdd84755dbe885235db2e4f16920ac892
fix message expander when no images
Matt McKegg committed on 11/4/2017, 4:30:56 AMParent: 4f2f50a77ef55ab8e505ad02c47746b3cab34157
Files changed
lib/expander-hook.js | changed |
lib/expander-hook.js | ||
---|---|---|
@@ -5,9 +5,9 @@ | ||
5 | 5 | } |
6 | 6 | |
7 | 7 | function expander (needsExpand, element) { |
8 | 8 | var handler = { handleEvent, needsExpand, element } |
9 | - handleEvent.bind(handler) | |
9 | + handleEvent.call(handler) | |
10 | 10 | |
11 | 11 | if (element.querySelector('img')) { |
12 | 12 | // just in case images are still loading |
13 | 13 | setTimeout(handleEvent.bind(handler), 200) |
Built with git-ssb-web