Update Selector.js

pull/11135/head
Tan Li Hau 2 years ago committed by GitHub
parent c3fca96ecf
commit 7044db7497
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -214,7 +214,7 @@ export default class Selector {
index !== 0 &&
selector.children &&
selector.children.length > 0 &&
!/[.:#\[\s]/.test(selector.children[0].value[0])
!/[.:#[\s]/.test(selector.children[0].value[0])
) {
component.error(selector, compiler_errors.css_invalid_global_selector_position);
}

Loading…
Cancel
Save