File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
pyscriptjs/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ export class PyWidget extends HTMLElement {
307
307
}
308
308
309
309
if ( this . hasAttribute ( 'std-err' ) ) {
310
- this . outputElement = document . getElementById ( this . getAttribute ( 'std-err' ) ) ;
310
+ this . errorElement = document . getElementById ( this . getAttribute ( 'std-err' ) ) ;
311
311
} else {
312
312
this . errorElement = this . outputElement ;
313
313
}
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class PyScript extends BaseEvalElement {
71
71
}
72
72
73
73
if ( this . hasAttribute ( 'std-err' ) ) {
74
- this . outputElement = document . getElementById ( this . getAttribute ( 'std-err' ) ) ;
74
+ this . errorElement = document . getElementById ( this . getAttribute ( 'std-err' ) ) ;
75
75
} else {
76
76
this . errorElement = this . outputElement ;
77
77
}
You can’t perform that action at this time.
0 commit comments