show message on find
This commit is contained in:
parent
72bf3cc2bd
commit
93bd0bc54f
4 changed files with 28 additions and 6 deletions
|
@ -38,6 +38,10 @@ export default class FindComponent {
|
|||
window.document,
|
||||
'Pattern not found: ' + state.keyword);
|
||||
}
|
||||
consoleFrames.postInfo(
|
||||
window.document,
|
||||
'Pattern found: ' + state.keyword,
|
||||
);
|
||||
return this.store.dispatch(findActions.next(state.keyword, false));
|
||||
}
|
||||
|
||||
|
@ -49,6 +53,10 @@ export default class FindComponent {
|
|||
window.document,
|
||||
'Pattern not found: ' + state.keyword);
|
||||
}
|
||||
consoleFrames.postInfo(
|
||||
window.document,
|
||||
'Pattern found: ' + state.keyword,
|
||||
);
|
||||
return this.store.dispatch(findActions.prev(state.keyword, false));
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue