Skip to content

Commit

Permalink
refactor: minor tweak on conditions order (vuejs#6992)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonet authored and aJean committed Aug 19, 2020
1 parent 9c9587e commit ac94840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ function processAttrs (el) {
// #6887 firefox doesn't update muted state if set via attribute
// even immediately after element creation
if (!el.component &&
platformMustUseProp(el.tag, el.attrsMap.type, name) &&
name === 'muted') {
name === 'muted' &&
platformMustUseProp(el.tag, el.attrsMap.type, name)) {
addProp(el, name, 'true')
}
}
Expand Down

0 comments on commit ac94840

Please sign in to comment.