This repository was archived by the owner on Dec 11, 2019. It is now read-only.
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class FindBar extends ImmutableComponent {
21
21
this . onClear = this . onClear . bind ( this )
22
22
this . onKeyDown = this . onKeyDown . bind ( this )
23
23
this . onContextMenu = this . onContextMenu . bind ( this )
24
- this . onKeyUp = this . onKeyUp . bind ( this )
24
+ this . onInput = this . onInput . bind ( this )
25
25
this . onFindPrev = this . onFindPrev . bind ( this )
26
26
this . onFindNext = this . onFindNext . bind ( this )
27
27
this . onCaseSensitivityChange = this . onCaseSensitivityChange . bind ( this )
@@ -32,7 +32,7 @@ class FindBar extends ImmutableComponent {
32
32
return windowStore . getFrame ( this . props . frameKey )
33
33
}
34
34
35
- onKeyUp ( e ) {
35
+ onInput ( e ) {
36
36
windowActions . setFindDetail ( this . frame , Immutable . fromJS ( {
37
37
searchString : e . target . value ,
38
38
caseSensitivity : this . isCaseSensitive
@@ -221,7 +221,7 @@ class FindBar extends ImmutableComponent {
221
221
ref = { ( node ) => { this . searchInput = node } }
222
222
onFocus = { this . onInputFocus }
223
223
onKeyDown = { this . onKeyDown }
224
- onKeyUp = { this . onKeyUp } />
224
+ onInput = { this . onInput } />
225
225
< span className = 'searchStringContainerIcon fa fa-times findClear'
226
226
onClick = { this . onClear } />
227
227
</ div >
You can’t perform that action at this time.
0 commit comments