Skip to content

Commit

Permalink
refactor: minor tweak on conditions order (#6992)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonet authored and yyx990803 committed Nov 3, 2017
1 parent 79c0d7b commit e80104e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/parser/index.js
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 e80104e

Please sign in to comment.