From ede7734a81a2d91062045a9974c0fab9332be878 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 3 Jan 2021 00:17:36 -0800 Subject: [PATCH] Call photo_clipboard.apply_check_all after refreshing divs. This was previously performed automatically deeper within clipboard.js, but was optimized out recently. --- frontends/etiquette_flask/templates/clipboard.html | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/etiquette_flask/templates/clipboard.html b/frontends/etiquette_flask/templates/clipboard.html index 6e63583..c49887f 100644 --- a/frontends/etiquette_flask/templates/clipboard.html +++ b/frontends/etiquette_flask/templates/clipboard.html @@ -192,6 +192,7 @@ function refresh_divs() holder.appendChild(photo_div) } } + photo_clipboard.apply_check_all(); if (holder.childElementCount == 0) { holder.classList.add("hidden");