Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion phpBB/assets/javascript/phpbb-avatars.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@
return;
}

const $submitButton = this.$form.find('fieldset > input[type=submit]').first();
// Restrict to the form's own submit area; avatar driver sections may
// contain their own submit buttons (e.g. the gallery's "Go" button)
const $submitButton = this.$form.find('fieldset.submit-buttons, fieldset.quick').find('input[type=submit]').first();

const avatarCanvas = phpbb.avatars.cropper.getCroppedCanvas({
maxWidth: 4096, // High values for max quality cropping
Expand Down
Loading