File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ var TutorialConfig = (function (_super) {
6363 TopPanel_1 . topElement . toggle ( false ) ;
6464 document . getElementsByTagName ( 'input' ) [ 0 ] . focus ( ) ;
6565 } ;
66- TutorialConfig . prototype . shouldComponentUpdate = function ( t ) {
66+ TutorialConfig . prototype . shouldComponentUpdate = function ( ) {
6767 var textInputIsActive = ( document . activeElement &&
6868 typeof document . activeElement . value === 'string' ) ;
6969 return this . props . submitting || ! textInputIsActive ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class TutorialConfig extends React.Component <{
6464 // focus first element
6565 document . getElementsByTagName ( 'input' ) [ 0 ] . focus ( ) ;
6666 }
67- shouldComponentUpdate ( t ) {
67+ shouldComponentUpdate ( ) {
6868 // hack to prevent lost focus on component update
6969 const textInputIsActive = (
7070 document . activeElement &&
You can’t perform that action at this time.
0 commit comments