mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
refactor: minor tweak on conditions order (#6992)
This commit is contained in:
parent
79c0d7bcfb
commit
e80104eb63
@ -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')
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user