commit 72dda609c441ddd9149f9370c9178ce8234e2b06
parent 315e2bfac4b0ca133b046f913a970c1259d7e8aa
Author: Sophie <info@soophie.de>
Date: Thu, 3 Apr 2025 11:30:30 +0200
fix: Fixed image transition bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/popup.js b/popup.js
@@ -53,7 +53,7 @@ async function pp_do_delete(id) {
}
function pp_do_open(item) {
- if ($store.current?.id !== item?.id) {
+ if ($store.current?.image !== item?.image) {
const image = popup.querySelector('.preview-image');
if (image) {
image.classList.remove('visible');