1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 17:24:46 +02:00

Fix issue processwire/processwire-issues#1465 for "InputfieldImage proportional thumbnails not displayed properly in some situations" by adding suggested fix by @Toutouwai

This commit is contained in:
Ryan Cramer
2023-01-13 10:06:34 -05:00
parent a0b91e4472
commit 2c65cbaa5b
2 changed files with 5 additions and 1 deletions

View File

@@ -2354,6 +2354,10 @@ function InputfieldImage($) {
}).on('opened', '.InputfieldImage', function() { }).on('opened', '.InputfieldImage', function() {
//console.log('InputfieldImage opened'); //console.log('InputfieldImage opened');
initInputfield($(this)); initInputfield($(this));
}).on('opened', function() {
$(this).find(".InputfieldImage").each(function() {
initInputfield($(this));
});
}); });
} }

File diff suppressed because one or more lines are too long