mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
fixes #85039
This commit is contained in:
@@ -1079,6 +1079,11 @@ function _$<T extends Element>(namespace: Namespace, description: string, attrs?
|
||||
|
||||
Object.keys(attrs).forEach(name => {
|
||||
const value = attrs![name];
|
||||
|
||||
if (typeof value === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (/^on\w+$/.test(name)) {
|
||||
(<any>result)[name] = value;
|
||||
} else if (name === 'selected') {
|
||||
|
||||
Reference in New Issue
Block a user