Skip to content

Commit

Permalink
showImages: Fix collapsing comment not collapsing expando (honestblee…
Browse files Browse the repository at this point in the history
  • Loading branch information
larsjohnsen authored and erikdesjardins committed Apr 4, 2018
1 parent a614c8c commit 27d0cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/showImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ async function completeExpando(expando, thing, mediaInfo) {
let wasOpen;

// Collapse / restore expandos when toggling comment visibility
$(thing.getParents().map(e => e.entry))
$([thing, ...thing.getParents()].map(e => e.entry))
.find('.tagline > .expand, > .buttons .toggleChildren')
.click(() => {
if (thing.isVisible()) {
Expand Down

0 comments on commit 27d0cf0

Please sign in to comment.