Commit 037e110
[refactor] Limit the condition of the option tag to "selected" attribute in isFormAttribute()
The condition of the option tag is intended to fix #1916 and should be evaluated in conjunction with the "selected" attribute.
This commit will improve code readability a bit, reduce the number of times to evaluate tags and also reduce the number of times to set the same attribute in option elements redundantly.1 parent 7771ece commit 037e110
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
| 733 | + | |
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| |||
0 commit comments