VariationForm.prototype.onReset() removes checked attribute and triggers change event for all attribute fields, no
matter if those were checked or not. This triggers an unnecessary change event on all attributes. This may impact UI performance (by calling slideUp()) if many attributes are present, or cause CSS artifacts as a browser is trashing layout.
VariationForm.prototype.onReset()
removeschecked
attribute and triggerschange
event for all attribute fields, no matter if those were checked or not. This triggers an unnecessary change event on all attributes. This may impact UI performance (by callingslideUp()
) if many attributes are present, or cause CSS artifacts as a browser is trashing layout.