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:
@@ -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
Reference in New Issue
Block a user