Call photo_clipboard.apply_check_all after refreshing divs.

This was previously performed automatically deeper within clipboard.js,
but was optimized out recently.
This commit is contained in:
voussoir 2021-01-03 00:17:36 -08:00
parent 58a0a246c8
commit ede7734a81

View file

@ -192,6 +192,7 @@ function refresh_divs()
holder.appendChild(photo_div) holder.appendChild(photo_div)
} }
} }
photo_clipboard.apply_check_all();
if (holder.childElementCount == 0) if (holder.childElementCount == 0)
{ {
holder.classList.add("hidden"); holder.classList.add("hidden");